jkosh44 commented on a change in pull request #1701:
URL: https://github.com/apache/accumulo/pull/1701#discussion_r484121833
##########
File path: core/src/main/java/org/apache/accumulo/core/conf/Property.java
##########
@@ -1233,6 +1233,18 @@ public static boolean isValidPropertyKey(String key) {
return validProperties.contains(key) || isKeyValidlyPrefixed(key);
}
+ /**
+ * Checks if the given property prefix is valid. A valid property prefix is
equal to some prefix
+ * defined in this class.
+ *
+ * @param prefix
+ * property prefix
+ * @return true if prefix is valid (recognized)
+ */
+ public static boolean isValidPropertyPrefix(String prefix) {
+ return validPrefixes.contains(prefix);
+ }
+
Review comment:
Removed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]