summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.archive/src
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2013-12-26 12:30:38 +0100
committerChristian Halstrick <christian.halstrick@sap.com>2014-01-10 14:06:50 +0100
commit4ceb25b60268855e944dc03de90dc5de42ebfe41 (patch)
treea799f098132cc79f3a3d6424752a1e987a92ded5 /org.eclipse.jgit.archive/src
parent25fe20b2dbb20cac8aa43c5ad64494ef8ea64ffc (diff)
downloadjgit-4ceb25b60268855e944dc03de90dc5de42ebfe41.tar.gz
jgit-4ceb25b60268855e944dc03de90dc5de42ebfe41.zip
Tag som non-localizable strings with NON-NLS
Change-Id: I6882c98c2785f38241a81ba5b93892aab79690a5
Diffstat (limited to 'org.eclipse.jgit.archive/src')
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ArchiveFormats.java10
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java4
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java5
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java5
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java5
-rw-r--r--org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java4
6 files changed, 15 insertions, 18 deletions
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ArchiveFormats.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ArchiveFormats.java
index f065871969..65466a9949 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ArchiveFormats.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ArchiveFormats.java
@@ -70,11 +70,11 @@ public class ArchiveFormats {
* Not thread-safe.
*/
public static void registerAll() {
- register("tar", new TarFormat());
- register("tgz", new TgzFormat());
- register("tbz2", new Tbz2Format());
- register("txz", new TxzFormat());
- register("zip", new ZipFormat());
+ register("tar", new TarFormat()); //$NON-NLS-1$
+ register("tgz", new TgzFormat()); //$NON-NLS-1$
+ register("tbz2", new Tbz2Format()); //$NON-NLS-1$
+ register("txz", new TxzFormat()); //$NON-NLS-1$
+ register("zip", new ZipFormat()); //$NON-NLS-1$
}
/**
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
index 7e1c9cc907..c552fb1844 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TarFormat.java
@@ -62,8 +62,8 @@ import org.eclipse.jgit.lib.ObjectLoader;
* Unix TAR format (ustar + some PAX extensions).
*/
public class TarFormat implements ArchiveCommand.Format<ArchiveOutputStream> {
- private static final List<String> SUFFIXES =
- Collections.unmodifiableList(Arrays.asList(".tar"));
+ private static final List<String> SUFFIXES = Collections
+ .unmodifiableList(Arrays.asList(".tar")); //$NON-NLS-1$
public ArchiveOutputStream createArchiveOutputStream(OutputStream s) {
TarArchiveOutputStream out = new TarArchiveOutputStream(s, "UTF-8"); //$NON-NLS-1$
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java
index d3482d1813..61aa339b7c 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/Tbz2Format.java
@@ -58,9 +58,8 @@ import org.eclipse.jgit.lib.ObjectLoader;
* bzip2-compressed tarball (tar.bz2) format.
*/
public class Tbz2Format implements ArchiveCommand.Format<ArchiveOutputStream> {
- private static final List<String> SUFFIXES =
- Collections.unmodifiableList(Arrays.asList(
- ".tar.bz2", ".tbz", ".tbz2"));
+ private static final List<String> SUFFIXES = Collections
+ .unmodifiableList(Arrays.asList(".tar.bz2", ".tbz", ".tbz2")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
private final ArchiveCommand.Format<ArchiveOutputStream> tarFormat = new TarFormat();
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
index fe1350cbb0..534404fad1 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TgzFormat.java
@@ -58,9 +58,8 @@ import org.eclipse.jgit.lib.ObjectLoader;
* gzip-compressed tarball (tar.gz) format.
*/
public class TgzFormat implements ArchiveCommand.Format<ArchiveOutputStream> {
- private static final List<String> SUFFIXES =
- Collections.unmodifiableList(Arrays.asList(
- ".tar.gz", ".tgz"));
+ private static final List<String> SUFFIXES = Collections
+ .unmodifiableList(Arrays.asList(".tar.gz", ".tgz")); //$NON-NLS-1$ //$NON-NLS-2$
private final ArchiveCommand.Format<ArchiveOutputStream> tarFormat = new TarFormat();
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java
index c09b0621a7..f0eed00fd9 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/TxzFormat.java
@@ -58,9 +58,8 @@ import org.eclipse.jgit.lib.ObjectLoader;
* Xz-compressed tar (tar.xz) format.
*/
public class TxzFormat implements ArchiveCommand.Format<ArchiveOutputStream> {
- private static final List<String> SUFFIXES =
- Collections.unmodifiableList(Arrays.asList(
- ".tar.xz", ".txz"));
+ private static final List<String> SUFFIXES = Collections
+ .unmodifiableList(Arrays.asList(".tar.xz", ".txz")); //$NON-NLS-1$ //$NON-NLS-2$
private final ArchiveCommand.Format<ArchiveOutputStream> tarFormat = new TarFormat();
diff --git a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java
index 1a3765ec19..a2bfbeeb16 100644
--- a/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java
+++ b/org.eclipse.jgit.archive/src/org/eclipse/jgit/archive/ZipFormat.java
@@ -61,8 +61,8 @@ import org.eclipse.jgit.lib.ObjectLoader;
* PKWARE's ZIP format.
*/
public class ZipFormat implements ArchiveCommand.Format<ArchiveOutputStream> {
- private static final List<String> SUFFIXES =
- Collections.unmodifiableList(Arrays.asList(".zip"));
+ private static final List<String> SUFFIXES = Collections
+ .unmodifiableList(Arrays.asList(".zip")); //$NON-NLS-1$
public ArchiveOutputStream createArchiveOutputStream(OutputStream s) {
return new ZipArchiveOutputStream(s);