Skip to content

Commit 2459a97

Browse files
committed
reverted GRAILS-5595 (caused issues with reloads)
1 parent 621317a commit 2459a97

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/java/org/codehaus/groovy/grails/plugins/DefaultGrailsPlugin.java

-1
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,6 @@ private void initializeModifiedTimes() throws IOException {
511511
URLConnection c = r.getURL().openConnection();
512512
c.setDoInput(false);
513513
c.setDoOutput(false);
514-
c.connect();
515514
modifiedTimes[i] = c.getLastModified();
516515
}
517516
}

src/java/org/codehaus/groovy/grails/web/pages/GroovyPagesTemplateEngine.java

-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,6 @@ private long establishLastModified(Resource resource) {
492492

493493
urlc.setDoInput(false);
494494
urlc.setDoOutput(false);
495-
urlc.connect();
496495

497496
lastModified = urlc.getLastModified();
498497
} catch (FileNotFoundException fnfe) {

0 commit comments

Comments
 (0)