diff options
author | Olivier Lamy <olamy@apache.org> | 2014-04-10 23:11:38 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-04-10 23:11:38 +1000 |
commit | d6c28781b0b0f9de8142c8b96b810ab6c415cb26 (patch) | |
tree | 99e10f3e0058db84f706d5dc5998a64e75357e98 /archiva-modules/archiva-base/archiva-proxy-common | |
parent | b244153061054a1efd45e2d07d69b751070660f2 (diff) | |
download | archiva-d6c28781b0b0f9de8142c8b96b810ab6c415cb26.tar.gz archiva-d6c28781b0b0f9de8142c8b96b810ab6c415cb26.zip |
more diamond
Diffstat (limited to 'archiva-modules/archiva-base/archiva-proxy-common')
-rw-r--r-- | archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/WagonFactoryRequest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/WagonFactoryRequest.java b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/WagonFactoryRequest.java index 613f20cde..75a262792 100644 --- a/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/WagonFactoryRequest.java +++ b/archiva-modules/archiva-base/archiva-proxy-common/src/main/java/org/apache/archiva/proxy/common/WagonFactoryRequest.java @@ -35,7 +35,7 @@ public class WagonFactoryRequest */ private String protocol; - private Map<String, String> headers = new HashMap<String, String>(); + private Map<String, String> headers = new HashMap<>(); private String userAgent = "Java-Archiva"; @@ -72,7 +72,7 @@ public class WagonFactoryRequest { if ( this.headers == null ) { - this.headers = new HashMap<String, String>(); + this.headers = new HashMap<>(); } return headers; } |