Browse Source

Cleanup: Remove unnecessary $NON-NLS$ tags

Change-Id: I143c9d62b89322509123d4e06a221dd4dc158c55
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-4.9
Matthias Sohn 7 years ago
parent
commit
e271e2f688
  1. 2
      org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/ServletUtils.java

2
org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/ServletUtils.java

@ -112,7 +112,7 @@ public final class ServletUtils {
throws IOException { throws IOException {
InputStream in = req.getInputStream(); InputStream in = req.getInputStream();
final String enc = req.getHeader(HDR_CONTENT_ENCODING); final String enc = req.getHeader(HDR_CONTENT_ENCODING);
if (ENCODING_GZIP.equals(enc) || ENCODING_X_GZIP.equals(enc)) //$NON-NLS-1$ if (ENCODING_GZIP.equals(enc) || ENCODING_X_GZIP.equals(enc))
in = new GZIPInputStream(in); in = new GZIPInputStream(in);
else if (enc != null) else if (enc != null)
throw new IOException(MessageFormat.format(HttpServerText.get().encodingNotSupportedByThisLibrary throw new IOException(MessageFormat.format(HttpServerText.get().encodingNotSupportedByThisLibrary

Loading…
Cancel
Save