This commit is contained in:
Oliver Woodman 2014-12-05 17:51:52 +00:00
parent 4efc0abde9
commit fc8c08d240

View File

@ -376,7 +376,7 @@ public class HttpDataSource implements DataSource {
connection.setReadTimeout(readTimeoutMillis);
connection.setDoOutput(false);
synchronized (requestProperties) {
for (HashMap.Entry<String, String> property : requestProperties.entrySet()) {
for (Map.Entry<String, String> property : requestProperties.entrySet()) {
connection.setRequestProperty(property.getKey(), property.getValue());
}
}