File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
main/java/com/nordstrom/common/jdbc
test/java/com/nordstrom/common/file Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ public class Param {
19
19
* Constructor: Private, to discourage direct instantiation.
20
20
*/
21
21
private Param () {
22
- throw new AssertionError ("Params is a static utility class that cannot be instantiated." );
23
22
}
24
23
25
24
/**
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ public void testFindExecutableOnSystemPath() {
148
148
149
149
@ Test
150
150
public void testFindExecutableByFullPath () {
151
- String javaPath = ProcessHandle . current (). info (). command (). get () ;
151
+ String javaPath = System . getProperty ( "java.home" ) + File . separator + "bin" + File . separator + "java" ;
152
152
String path = PathUtils .findExecutableOnSystemPath (javaPath );
153
153
assertNotNull (path );
154
154
}
You can’t perform that action at this time.
0 commit comments