aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Frade <ifrade@google.com>2025-06-25 13:13:26 +0300
committerIvan Frade <ifrade@google.com>2025-06-25 13:13:26 +0300
commit9fb0c4fca91dfa90fdaa9ed380f325f1a1c71fe4 (patch)
treeb34924a913435aa8c3c1f189297664e2915faf92
parente3c003cac0ee81b6d999fdfe65b86a3e31fd5075 (diff)
downloadjgit-9fb0c4fca91dfa90fdaa9ed380f325f1a1c71fe4.tar.gz
jgit-9fb0c4fca91dfa90fdaa9ed380f325f1a1c71fe4.zip
ChangedPathFilter: Suppress nls warnings in toString
mvn build was warning about these messages lacking the NLS annotation. As the method has 3 lines with 3 string, just suppress the warning in the whole method. Change-Id: I0dbd4055266517edd21418dc12528776078c34cc
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ChangedPathTreeFilter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ChangedPathTreeFilter.java b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ChangedPathTreeFilter.java
index 2400e12240..a74b9b617f 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ChangedPathTreeFilter.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/treewalk/filter/ChangedPathTreeFilter.java
@@ -125,6 +125,7 @@ public class ChangedPathTreeFilter extends TreeFilter {
return paths;
}
+ @SuppressWarnings("nls")
@Override
public String toString() {
return "(CHANGED_PATH(" + pathFilter.toString() + ")" //