Skip to content

Commit 23e482a

Browse files
authored
Merge pull request #53 from cyanotyp/patch-1
Update PMDResultPanel.java
2 parents a0b465b + d77e35d commit 23e482a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/com/intellij/plugins/bodhi/pmd/PMDResultPanel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ public void actionPerformed(AnActionEvent e) {
444444
}
445445

446446
private boolean isCustomRuleSet(String rule) {
447-
return rule.indexOf(File.separatorChar) != -1;
447+
return rule != null && rule.length() > 0 && rule.indexOf(File.separatorChar) != -1;
448448
}
449449
}
450450

0 commit comments

Comments
 (0)