Skip to content

Commit

Permalink
Remove null checks for boolean values
Browse files Browse the repository at this point in the history
  • Loading branch information
Pandrex247 authored and smillidge committed Mar 18, 2017
1 parent 1ad9ffb commit d9a48c4
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -348,18 +348,12 @@ protected void postAnnotationProcess(WebBundleDescriptorImpl descriptor,
if (mergedWebFragment == null) {
mergedWebFragment = wf;
} else {
if(wf.isExists() && wf.isDistributable() == null) {
wf.setDistributable(false);
}
mergedWebFragment.addWebBundleDescriptor(wf);
}
}

if (mergedWebFragment != null) {
mergedWebFragment.setExists(true);
if(descriptor.isDistributable() == null) {
descriptor.setDistributable(false);
}
descriptor.addWebBundleDescriptor(mergedWebFragment);

// if there any mapping stubs left, there is something invalid referenced from web.xml
Expand Down

0 comments on commit d9a48c4

Please sign in to comment.