private static String createIdFromJndiLocationIfNotNull(String jndiLocation){
  String id=null;
  if (jndiLocation != null) {
    id=createIdFromJndiLocation(jndiLocation);
  }
  return id;
}

private static String createIdFromJndiLocationIfNotNull ( String jndiLocation ) { String id = null ; if ( jndiLocation != null ) { id = createIdFromJndiLocation ( jndiLocation ) ; } return id ; }
return a string that can be used to name this configuration or null , if jndilocation was not specified .
