Browse Source

UploadPack: Add missing $NON-NLS suppressions

Change-Id: Ica2cc0ed23a7667bcb8d2006fd0a6ba6bddfee9a
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.1
David Pursehouse 6 years ago
parent
commit
7058493fea
  1. 3
      org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

3
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java

@ -1173,7 +1173,8 @@ public class UploadPack {
caps.add("version 2"); //$NON-NLS-1$
caps.add(COMMAND_LS_REFS);
boolean advertiseRefInWant = transferConfig.isAllowRefInWant() &&
db.getConfig().getBoolean("uploadpack", null, "advertiserefinwant", true);
db.getConfig().getBoolean("uploadpack", null, //$NON-NLS-1$
"advertiserefinwant", true); //$NON-NLS-1$
caps.add(
COMMAND_FETCH + '=' +
(transferConfig.isAllowFilter() ? OPTION_FILTER + ' ' : "") + //$NON-NLS-1$

Loading…
Cancel
Save