mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-21 19:10:00 +08:00
Keep explicit if statement
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user