Code example for Properties

Methods: put

0
    { 
        private static final String[] QUALIFIERS = { "alpha", "beta", "milestone", "rc", "snapshot", "", "sp" };
 
        private static final List<String> _QUALIFIERS = Arrays.asList( QUALIFIERS );
 
        private static final Properties ALIASES = new Properties();
        static 
        { 
            ALIASES.put( "ga", "" );
            ALIASES.put( "final", "" );
            ALIASES.put( "cr", "rc" );
        } 
 
        /** 
         * A comparable value for the empty-string qualifier. This one is used to determine if a given qualifier makes 
         * the version older than one without a qualifier, or more recent. 
         */ 
        private static final String RELEASE_VERSION_INDEX = String.valueOf( _QUALIFIERS.indexOf( "" ) );
 
        private String value;