Skip to content

Commit 07f5859

Browse files
committed
Silence non-externalized String warning
Change-Id: I647a7f6fc24e3042baaa302a54cf34e4a8d59fc9
1 parent 1ecc2d1 commit 07f5859

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/PackFile.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ private static PackExt getPackExt(String endsWithExtension) {
189189
return ext;
190190
}
191191

192-
if (endsWithExtension.equals("old-" + ext.getExtension())) {
192+
if (endsWithExtension.equals("old-" + ext.getExtension())) { //$NON-NLS-1$
193193
return ext;
194194
}
195195
}

org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ receivedNonce, sentNonce(), db, stateless, nonceSlopLimit)
375375
// Read push-option lines (if any) before the empty line separator
376376
String line;
377377
while (!(line = reader.read()).isEmpty()) {
378-
if (line.startsWith(PUSH_OPTION + " ")) {
378+
if (line.startsWith(PUSH_OPTION + " ")) { //$NON-NLS-1$
379379
pushOptions.add(parseHeader(line, PUSH_OPTION));
380380
} else {
381381
// Not a push-option, should be empty line

0 commit comments

Comments
 (0)