From 2c18ad97811b6ed6a1fa2fce82ffa409969ceeed Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Mon, 20 Jun 2011 23:20:24 +0000 Subject: [PATCH] use Integer.valueOf rather than new Integer git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137821 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/maven/archiva/web/util/ContextUtils.java | 4 ++-- 1 file 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(); - defaultSchemePortMap.put( "http", new Integer( 80 ) ); - defaultSchemePortMap.put( "https", new Integer( 443 ) ); + defaultSchemePortMap.put( "http", Integer.valueOf( 80 ) ); + defaultSchemePortMap.put( "https", Integer.valueOf( 443 ) ); } /**