|
|
d340bb |
From b31cf07a664173c8fa11309859dcb9f6929da578 Mon Sep 17 00:00:00 2001
|
|
|
d340bb |
From: Marian Koncek <mkoncek@redhat.com>
|
|
|
d340bb |
Date: Wed, 23 Oct 2019 15:18:54 +0200
|
|
|
d340bb |
Subject: [PATCH] Port to plexus-utils 3.3.0
|
|
|
d340bb |
|
|
|
d340bb |
---
|
|
|
d340bb |
.../org/sonatype/plexus/build/incremental/EmptyScanner.java | 3 +++
|
|
|
d340bb |
.../build/incremental/test/TestIncrementalBuildContext.java | 4 ++++
|
|
|
d340bb |
2 files changed, 7 insertions(+)
|
|
|
d340bb |
|
|
|
d340bb |
diff --git a/src/main/java/org/sonatype/plexus/build/incremental/EmptyScanner.java b/src/main/java/org/sonatype/plexus/build/incremental/EmptyScanner.java
|
|
|
d340bb |
index 7cce37d..2cca716 100644
|
|
|
d340bb |
--- a/src/main/java/org/sonatype/plexus/build/incremental/EmptyScanner.java
|
|
|
d340bb |
+++ b/src/main/java/org/sonatype/plexus/build/incremental/EmptyScanner.java
|
|
|
d340bb |
@@ -14,6 +14,7 @@ See the Apache License Version 2.0 for the specific language governing permissio
|
|
|
d340bb |
package org.sonatype.plexus.build.incremental;
|
|
|
d340bb |
|
|
|
d340bb |
import java.io.File;
|
|
|
d340bb |
+import java.util.Comparator;
|
|
|
d340bb |
|
|
|
d340bb |
import org.codehaus.plexus.util.Scanner;
|
|
|
d340bb |
|
|
|
d340bb |
@@ -54,4 +55,6 @@ public class EmptyScanner implements Scanner {
|
|
|
d340bb |
return basedir;
|
|
|
d340bb |
}
|
|
|
d340bb |
|
|
|
d340bb |
+public void setFilenameComparator(Comparator comparator) {
|
|
|
d340bb |
+}
|
|
|
d340bb |
}
|
|
|
d340bb |
diff --git a/src/test/java/org/sonatype/plexus/build/incremental/test/TestIncrementalBuildContext.java b/src/test/java/org/sonatype/plexus/build/incremental/test/TestIncrementalBuildContext.java
|
|
|
d340bb |
index 14c1e26..01a9fba 100644
|
|
|
d340bb |
--- a/src/test/java/org/sonatype/plexus/build/incremental/test/TestIncrementalBuildContext.java
|
|
|
d340bb |
+++ b/src/test/java/org/sonatype/plexus/build/incremental/test/TestIncrementalBuildContext.java
|
|
|
d340bb |
@@ -18,6 +18,7 @@ import java.io.FileOutputStream;
|
|
|
d340bb |
import java.io.IOException;
|
|
|
d340bb |
import java.io.OutputStream;
|
|
|
d340bb |
import java.util.ArrayList;
|
|
|
d340bb |
+import java.util.Comparator;
|
|
|
d340bb |
import java.util.HashSet;
|
|
|
d340bb |
import java.util.Iterator;
|
|
|
d340bb |
import java.util.List;
|
|
|
d340bb |
@@ -66,6 +67,9 @@ public class TestIncrementalBuildContext implements BuildContext {
|
|
|
d340bb |
public File getBasedir() {
|
|
|
d340bb |
return basedir;
|
|
|
d340bb |
}
|
|
|
d340bb |
+
|
|
|
d340bb |
+ public void setFilenameComparator(Comparator comparator) {
|
|
|
d340bb |
+ }
|
|
|
d340bb |
}
|
|
|
d340bb |
|
|
|
d340bb |
private final Set changedFiles;
|
|
|
d340bb |
--
|
|
|
d340bb |
2.21.0
|
|
|
d340bb |
|