Skip to content

Commit b7b17a9

Browse files
committed
replace OR by AND
1 parent fa23242 commit b7b17a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin-maven/src/main/java/com/diffplug/spotless/maven/incremental/UpToDateChecker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public void setUpToDate(Path file) {
4949

5050
@Override
5151
public boolean isUpToDate(Path file) {
52-
return !buildContext.hasDelta(file.toFile()) || delegate.isUpToDate(file);
52+
return !buildContext.hasDelta(file.toFile()) && delegate.isUpToDate(file);
5353
}
5454

5555
@Override

0 commit comments

Comments
 (0)