File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/org/usb4java/javax
test/java/org/usb4java/javax Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1515final class Config
1616{
1717 /** Base key name for properties. */
18- private static final String KEY_BASE = "org.usb4java." ;
18+ private static final String KEY_BASE = "org.usb4java.javax. " ;
1919
2020 /** The default USB communication timeout in milliseconds. */
2121 private static final int DEFAULT_TIMEOUT = 2500 ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public void testDefaultConfiguration()
3838 public void testScanIntervalConfiguration ()
3939 {
4040 final Properties properties = new Properties ();
41- properties .put ("org.usb4java.scanInterval" , "123" );
41+ properties .put ("org.usb4java.javax. scanInterval" , "123" );
4242 final Config config = new Config (properties );
4343 assertEquals (123 , config .getScanInterval ());
4444 }
@@ -50,7 +50,7 @@ public void testScanIntervalConfiguration()
5050 public void testTimeoutConfiguration ()
5151 {
5252 final Properties properties = new Properties ();
53- properties .put ("org.usb4java.timeout" , "1234" );
53+ properties .put ("org.usb4java.javax. timeout" , "1234" );
5454 final Config config = new Config (properties );
5555 assertEquals (1234 , config .getTimeout ());
5656 }
You can’t perform that action at this time.
0 commit comments