Keep explicit if statement

This commit is contained in:
Stephane Nicoll
2020-11-29 08:30:54 +01:00
parent a93610ec0b
commit f94566d066

View File

@@ -203,7 +203,9 @@ public class MavenBuildAssert extends AbstractTextAssert<MavenBuildAssert> {
} }
} }
if (dependency.getType() != null) { if (dependency.getType() != null) {
return dependency.getType().equals(actual.getType()); if (!dependency.getType().equals(actual.getType())) {
return false;
}
} }
return true; return true;
} }