mirror of https://github.com/apache/archiva.git
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:
parent
2bab67755e
commit
2c18ad9781
|
@ -39,8 +39,8 @@ public class ContextUtils
|
||||||
static
|
static
|
||||||
{
|
{
|
||||||
defaultSchemePortMap = new HashMap<String, Integer>();
|
defaultSchemePortMap = new HashMap<String, Integer>();
|
||||||
defaultSchemePortMap.put( "http", new Integer( 80 ) );
|
defaultSchemePortMap.put( "http", Integer.valueOf( 80 ) );
|
||||||
defaultSchemePortMap.put( "https", new Integer( 443 ) );
|
defaultSchemePortMap.put( "https", Integer.valueOf( 443 ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue