Skip to content

Commit 554e719

Browse files
committed
Add javadoc for PatternUtils.unquotePattern to fix warnings
1 parent 2d0b516 commit 554e719

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: userdetails-plugin/src/main/java/au/org/ala/userdetails/PatternUtils.java

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ public class PatternUtils {
66

77
/**
88
* Revert Pattern.quote(String)
9+
*
10+
* @param s The String to unquote
11+
* @return The string without the regex quoting
912
*/
1013
public static String unquotePattern(String s) {
1114
if (s.startsWith("\\Q")) {

0 commit comments

Comments
 (0)