public static void resetEnv(){
  if (lmgr != null) {
    if (oldcclass != null) {
      System.setProperty("java.util.logging.config.class",oldcclass);
    }
    if (oldcfile != null) {
      System.setProperty("java.util.logging.config.file",oldcfile);
    }
  }
}

public static void resetEnv ( ) { if ( lmgr != null ) { if ( oldcclass != null ) { System . setProperty ( "java.util.logging.config.class" , oldcclass ) ; } if ( oldcfile != null ) { System . setProperty ( "java.util.logging.config.file" , oldcfile ) ; } } }
resets the environment to the default one .
