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;
}

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 ; }
strip dot suffix from a name
