We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1e94ee commit 9cdfd0fCopy full SHA for 9cdfd0f
test/lib/jdk/test/lib/Utils.java
@@ -773,19 +773,6 @@ public static Object[] getNullValues(Class<?>... types) {
773
NULL_VALUES.put(double.class, 0.0d);
774
}
775
776
- /**
777
- * Returns mandatory property value
778
- * @param propName is a name of property to request
779
- * @return a String with requested property value
780
- */
781
- public static String getMandatoryProperty(String propName) {
782
- Objects.requireNonNull(propName, "Requested null property");
783
- String prop = System.getProperty(propName);
784
- Objects.requireNonNull(prop,
785
- String.format("A mandatory property '%s' isn't set", propName));
786
- return prop;
787
- }
788
-
789
/*
790
* Run uname with specified arguments.
791
*/
0 commit comments