From 233e04e45369b3c5bbcff070a75205e4c0d48e96 Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sat, 6 Apr 2002 04:30:15 +0000 Subject: [PATCH] Extract constant git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272253 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/antlib/extensions/JarLibManifestTask.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/proposal/myrmidon/src/java/org/apache/antlib/extensions/JarLibManifestTask.java b/proposal/myrmidon/src/java/org/apache/antlib/extensions/JarLibManifestTask.java index 728e24ae1..a85cd1a55 100644 --- a/proposal/myrmidon/src/java/org/apache/antlib/extensions/JarLibManifestTask.java +++ b/proposal/myrmidon/src/java/org/apache/antlib/extensions/JarLibManifestTask.java @@ -52,6 +52,11 @@ public final class JarLibManifestTask */ private static final String MANIFEST_VERSION = "1.0"; + /** + * "Created-By" string used when creating manifest. + */ + private static final String CREATED_BY = "Created-By"; + /** * The library to display information about. */ @@ -180,7 +185,7 @@ public final class JarLibManifestTask final Attributes attributes = manifest.getMainAttributes(); attributes.put( Attributes.Name.MANIFEST_VERSION, MANIFEST_VERSION ); - attributes.putValue( "Created-By", Constants.BUILD_DESCRIPTION ); + attributes.putValue( CREATED_BY, Constants.BUILD_DESCRIPTION ); appendExtraAttributes( attributes );