code: public static synchronized void removeDefaultResource(String name) {
      if(defaultResources.contains(name)) {
        defaultResources.remove(name);
        for(Configuration conf : REGISTRY.keySet()) { 
          if(conf.loadDefaults) {
            conf.reloadConfiguration();
          }
        }
      }
    }
docs: Remove default resource