Minor code refinements
@@ -1435,8 +1435,7 @@ public class FeaturesServiceImpl implements FeaturesService, Deployer.DeployCall
req = req.replace("(", "\\(");
req = req.replace("]", "\\]");
req = req.replace(")", "\\)");
- Pattern pattern = Pattern.compile(req);
- return pattern;
+ return Pattern.compile(req);
}
private String getFeatureRequirement(Feature feature) {
