public static void resetPresets(){
synchronized (currentPresetsLock) {
    currentPresets=null;
    presetSearchIndex=null;
    translatedPresetSearchIndex=null;
    System.gc();
  }
}

public static void resetPresets ( ) { synchronized ( currentPresetsLock ) { currentPresets = null ; presetSearchIndex = null ; translatedPresetSearchIndex = null ; System . gc ( ) ; } }
resets the current presets , causing them to be re - parsed
