mbien commented on a change in pull request #3218:
URL: https://github.com/apache/netbeans/pull/3218#discussion_r755291796
##########
File path:
java/java.hints/src/org/netbeans/modules/java/hints/bugs/Bundle.properties
##########
@@ -25,10 +25,11 @@ DN_AnnotationsNotRuntime_instanceof={0} does not have
runtime Retention, the con
DN_org.netbeans.modules.java.hints.bugs.AnnotationsNotRuntime=Annotations
without runtime Retention
DESC_org.netbeans.modules.java.hints.bugs.AnnotationsNotRuntime=Warns about
reflective access to annotations with CLASS or SOURCE retentions
-DN_org.netbeans.modules.java.hints.bugs.Tiny.stringReplaceAllDot=String.replaceAll(".",
)
-DESC_org.netbeans.modules.java.hints.bugs.Tiny.stringReplaceAllDot=Finds
occurrences of calls to String.replaceAll(".", $target), which would replace
all characters of the source string with $target.
-ERR_string-replace-all-dot=Call to String.replaceAll(".", $target) is probably
undesired
-FIX_string-replace-all-dot=Replace with call to String.replaceAll("\\.",
$target)
+DN_org.netbeans.modules.java.hints.bugs.Tiny.singleCharRegex=Single Char Regex
+DESC_org.netbeans.modules.java.hints.bugs.Tiny.singleCharRegex=Finds
occurrences of single regex control characters \
+ used as parameter for methods expecting regular expressions and quotes
those.
+ERR_single-char-regex=Using a single regex control character as regex is
probably undesired
+FIX_single-char-regex=Escape character for regex usage"
Review comment:
good eyes! fixed.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists