Fix #22 - move Amidstest Preferences to a separate location from Amidst
parent
abd0238189
commit
bffe12a033
|
@ -115,7 +115,7 @@ public class Amidst {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static AmidstSettings createSettings() {
|
private static AmidstSettings createSettings() {
|
||||||
return new AmidstSettings(Preferences.userNodeForPackage(Amidst.class));
|
return new AmidstSettings(Preferences.userNodeForPackage(amidstest.Amidstest.class));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
package amidstest;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A dummy class used to establish an "amidstest" package namespace
|
||||||
|
* so that Java Preferences can be stored in a separate location from
|
||||||
|
* the original Amidst (in case both programs are being used on the
|
||||||
|
* same machine).
|
||||||
|
*
|
||||||
|
* @see Amidst.createSettings()
|
||||||
|
*/
|
||||||
|
public class Amidstest {
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue