use Integer.valueOf rather than new Integer

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137821 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2011-06-20 23:20:24 +00:00
parent 2bab67755e
commit 2c18ad9781
1 changed files with 2 additions and 2 deletions

View File

@ -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 ) );
}
/**