Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bobjacobsen committed Mar 3, 2019
1 parent 09c6e8a commit bbdd321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/test/jmri/util/JUnitUtil.java
Expand Up @@ -616,7 +616,7 @@ static public void setBeanStateAndWait(NamedBean bean, int state) {
public static void resetInstanceManager() {
// clear all instances from the static InstanceManager
InstanceManager.getDefault().clearAll();
// ensure the auto-default UserPreferencesManager is not created
// ensure the auto-default UserPreferencesManager is not created by installing a test one
InstanceManager.setDefault(UserPreferencesManager.class, new TestUserPreferencesManager());
}

Expand Down

0 comments on commit bbdd321

Please sign in to comment.