diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2024-11-27 13:10:21 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2024-11-27 13:10:21 +0100 |
commit | 90da22c118c19c1c42029ae30c5a2a424ca62e7e (patch) | |
tree | 2efee3effd2534acc81f0c18253ddd38774975c9 /org.eclipse.jgit/src | |
parent | 39a16df34aa0a28cad1fb8c0d4f0a11a75049ec9 (diff) | |
download | jgit-90da22c118c19c1c42029ae30c5a2a424ca62e7e.tar.gz jgit-90da22c118c19c1c42029ae30c5a2a424ca62e7e.zip |
DiffFormatter: silence non-externalized string warnings
Change-Id: I08488598d1cc58f17e6994cf00e74b20307ada06
Diffstat (limited to 'org.eclipse.jgit/src')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java b/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java index fa446e18cd..bc07cedf4f 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/diff/DiffFormatter.java @@ -1334,7 +1334,7 @@ public class DiffFormatter implements AutoCloseable { continue; } if (matchesAny(diffDriver.getMatchPatterns(), line)) { - String funcName = line.replaceAll("^[ \\t]+", ""); + String funcName = line.replaceAll("^[ \\t]+", ""); //$NON-NLS-1$//$NON-NLS-2$ return funcName.substring(0, Math.min(funcName.length(), 80)).trim(); } |