diff options
author | Olivier Lamy <olamy@apache.org> | 2011-06-20 23:20:24 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-06-20 23:20:24 +0000 |
commit | 2c18ad97811b6ed6a1fa2fce82ffa409969ceeed (patch) | |
tree | c969237b992705aaeec943cfca1ac71663ce7cab /archiva-modules | |
parent | 2bab67755eeba1bc56df442ca5d747b66dd9e3d3 (diff) | |
download | archiva-2c18ad97811b6ed6a1fa2fce82ffa409969ceeed.tar.gz archiva-2c18ad97811b6ed6a1fa2fce82ffa409969ceeed.zip |
use Integer.valueOf rather than new Integer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137821 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules')
-rw-r--r-- | archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ContextUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ContextUtils.java b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ContextUtils.java index 319d0a088..a1e86d25a 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ContextUtils.java +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/java/org/apache/maven/archiva/web/util/ContextUtils.java @@ -39,8 +39,8 @@ public class ContextUtils static { defaultSchemePortMap = new HashMap<String, Integer>(); - defaultSchemePortMap.put( "http", new Integer( 80 ) ); - defaultSchemePortMap.put( "https", new Integer( 443 ) ); + defaultSchemePortMap.put( "http", Integer.valueOf( 80 ) ); + defaultSchemePortMap.put( "https", Integer.valueOf( 443 ) ); } /** |