[java-metadata-aggregator COMMIT] /trunk/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/DomHttpSourceS...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Sep 20 17:41:32 BST 2011
Author: iay
Date: Tue Sep 20 17:41:32 2011
New Revision: 151
URL: http://svn.shibboleth.net/view/java-metadata-aggregator?rev=151&view=rev
Log:
Return to using the three-argument constructor for HttpResource to acquire the now default behaviour of saving conditional GET information along with the backup file.
Modified:
trunk/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/DomHttpSourceStage.java
Modified: trunk/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/DomHttpSourceStage.java
URL: http://svn.shibboleth.net/view/java-metadata-aggregator/trunk/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/DomHttpSourceStage.java?rev=151&r1=150&r2=151&view=diff
==============================================================================
--- trunk/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/DomHttpSourceStage.java (original)
+++ trunk/aggregator-pipeline/src/main/java/net/shibboleth/metadata/dom/DomHttpSourceStage.java Tue Sep 20 17:41:32 2011
@@ -243,7 +243,7 @@
String urlHash = new MD5().digest(sourceUrl.getBytes(), new HexConverter());
String backupFilePath = System.getProperty("java.io.tmpdir") + File.pathSeparator + urlHash;
- domResource = new HttpResource(sourceUrl, clientBuilder.buildClient(), backupFilePath, false);
+ domResource = new HttpResource(sourceUrl, clientBuilder.buildClient(), backupFilePath);
} else {
sourceUrl = domResource.getLocation();
}
More information about the commits
mailing list