public Integer lookup ( String entry ) { if ( ! data . containsKey ( entry ) ) { int oldsize = data . size ( ) ; data . put ( entry , data . size ( ) + 1 ) ; String msg = String . format ( "new entry: %s (size: %d -> %d)" , entry , oldsize , data . size ( ) ) ; if ( fileName != null ) { msg += " " + fileName ; } LOGGER . info ( msg ) ; } return data . get ( entry ) ; }
Looking for the abbreviated value of a text .