summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.pgm
diff options
context:
space:
mode:
authorJörg Kubitz <jkubitz-eclipse@gmx.de>2023-08-16 14:39:23 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2023-08-28 14:10:08 -0400
commita56930723f85562ab47d72c9ae525c5fe4322900 (patch)
treead4add4a31d4559c33866c752bde84d27ad96f89 /org.eclipse.jgit.pgm
parente7a09e316dbbfff5d23cbb9687f7b0a5d44e7da0 (diff)
downloadjgit-a56930723f85562ab47d72c9ae525c5fe4322900.tar.gz
jgit-a56930723f85562ab47d72c9ae525c5fe4322900.zip
ReadChangedPathFilter: fix Non-externalized string literal warning
Change-Id: I78161a2dbc08918267bc59a1ed267c5108f5c391
Diffstat (limited to 'org.eclipse.jgit.pgm')
-rw-r--r--org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ReadChangedPathFilter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ReadChangedPathFilter.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ReadChangedPathFilter.java
index 6927de84e4..1414165e54 100644
--- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ReadChangedPathFilter.java
+++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/debug/ReadChangedPathFilter.java
@@ -62,9 +62,9 @@ class ReadChangedPathFilter extends TextBuiltin {
HashSet<String> changed_paths = new HashSet<>();
for (int i = 0; i < commit_count; i++) {
int prior_cumul = i == 0 ? 0 : changed_path_length_cumuls[i - 1];
- String changed_path = "";
+ String changed_path = ""; //$NON-NLS-1$
for (int j = prior_cumul; j < changed_path_length_cumuls[i]; j++) {
- changed_path += data[bdat_offset + j] + ",";
+ changed_path += data[bdat_offset + j] + ","; //$NON-NLS-1$
}
changed_paths.add(changed_path);
}