Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[JBIDE-16854] dont NPE if path filter is null #211

Closed
wants to merge 1 commit into from

Conversation

adietish
Copy link
Member

No description provided.

@@ -48,6 +48,9 @@ public ModuleDirectoryScannerPathFilter(IModule module,

// Explode a given string by comma
private static String[] explode(String pattern) {
if (pattern == null) {
return new String[]{};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use a constant for that?

@fbricon
Copy link
Member

fbricon commented Mar 26, 2014

+1 to apply

@fbricon
Copy link
Member

fbricon commented Mar 26, 2014

applied in master and jbosstools-4.2.0.Beta1x

@fbricon fbricon closed this Mar 26, 2014
@adietish adietish deleted the JBIDE-16854 branch March 27, 2014 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants