Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Knauer2007-10-22 14:20:48 -0400
committerMarkus Knauer2007-10-22 14:20:48 -0400
commit936b86f7f1a7872a2b894b89ed41b75024981369 (patch)
tree107f0986a96261b150bf5360122bed046a1de012 /plugins
parent604a37a3aa4d5523e3c0f4561740ebc5b63cc31b (diff)
downloadorg.eclipse.epp.packages-936b86f7f1a7872a2b894b89ed41b75024981369.tar.gz
org.eclipse.epp.packages-936b86f7f1a7872a2b894b89ed41b75024981369.tar.xz
org.eclipse.epp.packages-936b86f7f1a7872a2b894b89ed41b75024981369.zip
removing some yellow markers
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/assembly/EclipsePackager.java2
-rw-r--r--plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/ArchiveFormat.java16
2 files changed, 13 insertions, 5 deletions
diff --git a/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/assembly/EclipsePackager.java b/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/assembly/EclipsePackager.java
index 16042f6f..3045076a 100644
--- a/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/assembly/EclipsePackager.java
+++ b/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/assembly/EclipsePackager.java
@@ -95,7 +95,7 @@ public class EclipsePackager implements IPackager {
URL fileURL = FileLocator.toFileURL( url );
File packagerPropertiesFile = new File( fileURL.toURI() );
File destinationPPFile = new File( configuration.getPackagerConfigurationFolder(),
- PACKAGER_PROPERTIES_FILE ); //$NON-NLS-1$
+ PACKAGER_PROPERTIES_FILE );
FileUtils.copy( packagerPropertiesFile, destinationPPFile );
}
diff --git a/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/ArchiveFormat.java b/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/ArchiveFormat.java
index 072b796c..2bad3484 100644
--- a/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/ArchiveFormat.java
+++ b/plugins/org.eclipse.epp.packaging.core/src/org/eclipse/epp/packaging/core/configuration/ArchiveFormat.java
@@ -16,23 +16,31 @@ package org.eclipse.epp.packaging.core.configuration;
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=142792 are fixed.
*/
public enum ArchiveFormat {
+
+ /**
+ * Archive format with the file extension <tt>.tar.gz</tt>.
+ */
tar {
@Override
- public String getExtension()
- {
+ public String getExtension() {
return ".tar.gz"; //$NON-NLS-1$
}
},
+ /**
+ * Archive format with the file extension <tt>.zip</tt>.
+ */
antZip {
@Override
- public String getExtension()
- {
+ public String getExtension() {
return ".zip"; //$NON-NLS-1$
}
};
+ /**
+ * @return the file extension that matches the archive format.
+ */
public abstract String getExtension();
} \ No newline at end of file

Back to the top