Skip to content
Permalink
Browse files
simplify if
  • Loading branch information
XenoAmess authored and darkma773r committed Jul 4, 2020
1 parent b06c457 commit c2f929e2b182d070caf6ed3f605380d09cd1765b
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1079,7 +1079,7 @@ private RegionLocation condenseRecursive(final N node) {
final RegionLocation minusLocation = condenseRecursive(node.getMinus());
final RegionLocation plusLocation = condenseRecursive(node.getPlus());

if (minusLocation != null && plusLocation != null && minusLocation == plusLocation) {
if (minusLocation == plusLocation && minusLocation != null) {
node.setLocationValue(minusLocation);
node.clearCut();

0 comments on commit c2f929e

Please sign in to comment.