Skip to content

Commit e13b418

Browse files
authored
Revert a couple of incorrect revisions (#37)
1 parent 0e4011a commit e13b418

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/main/java/com/nordstrom/common/jdbc/Param.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ public class Param {
1919
* Constructor: Private, to discourage direct instantiation.
2020
*/
2121
private Param() {
22-
throw new AssertionError("Params is a static utility class that cannot be instantiated.");
2322
}
2423

2524
/**

src/test/java/com/nordstrom/common/file/PathUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public void testFindExecutableOnSystemPath() {
148148

149149
@Test
150150
public void testFindExecutableByFullPath() {
151-
String javaPath = ProcessHandle.current().info().command().get();
151+
String javaPath = System.getProperty("java.home") + File.separator + "bin" + File.separator + "java";
152152
String path = PathUtils.findExecutableOnSystemPath(javaPath);
153153
assertNotNull(path);
154154
}

0 commit comments

Comments
 (0)