public void resetToDefaults ( ) { gatekeeper . signIn ( ) ; try { for ( Iterator < Entry < String , ChangeStack < String > > > iter = properties . entrySet ( ) . iterator ( ) ; iter . hasNext ( ) ; ) { Entry < String , ChangeStack < String > > entry = iter . next ( ) ; String defaultValue = getDefaultValue ( entry . getKey ( ) ) ; if ( defaultValue == null ) { iter . remove ( ) ; continue ; } entry . getValue ( ) . push ( defaultValue ) ; } } finally { gatekeeper . signOut ( ) ; } }
Reset all values to the default values .