question: private static String stripDotSuffix ( final String value ) { if ( value == null ) { return null ; } final int index = value . indexOf ( "." ) ; if ( index != - 1 ) return value . substring ( 0 , index ) ; return value ; }
target:  Strip dot suffix from a name 