Skip to content

Commit e7ca24c

Browse files
committed
fix: added a NOPMD exception
1 parent 91c3093 commit e7ca24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/src/main/java/io/snyk/languageserver/protocolextension/SnykUriUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static Map<String, String> getQueryParameters(String queryString) {
3838
if (!param.isEmpty()) {
3939
String[] keyValue = param.split("=");
4040

41-
if (keyValue.length == 2) { // TODO add the no pmd here
41+
if (keyValue.length == 2) { // NOPMD, AvoidLiteralsInIfCondition
4242
try {
4343
paramMap.put(keyValue[0],
4444
URLDecoder.decode(keyValue[1], "UTF-8"));

0 commit comments

Comments
 (0)