rsitze 2002/09/20 13:12:53 Modified: java/src/org/apache/axis/utils Messages.java java/src/org/apache/axis/i18n Messages.java Log: Cleanup comments.. this is going to confuse someone :-) Revision Changes Path 1.7 +4 -3 xml-axis/java/src/org/apache/axis/utils/Messages.java Index: Messages.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/Messages.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- Messages.java 20 Sep 2002 17:35:34 -0000 1.6 +++ Messages.java 20 Sep 2002 20:12:53 -0000 1.7 @@ -78,12 +78,13 @@ public class Messages { private static final Class thisClass = Messages.class; - private static final String packageName = getPackage(thisClass.getName()); - private static final ClassLoader classLoader = thisClass.getClassLoader(); - private static final String projectName = MessagesConstants.projectName; + private static final String resourceName = MessagesConstants.resourceName; private static final Locale locale = MessagesConstants.locale; + + private static final String packageName = getPackage(thisClass.getName()); + private static final ClassLoader classLoader = thisClass.getClassLoader(); private static final ResourceBundle parent = (MessagesConstants.rootPackageName == packageName) 1.4 +9 -13 xml-axis/java/src/org/apache/axis/i18n/Messages.java Index: Messages.java =================================================================== RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/i18n/Messages.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Messages.java 20 Sep 2002 17:35:35 -0000 1.3 +++ Messages.java 20 Sep 2002 20:12:53 -0000 1.4 @@ -76,16 +76,11 @@ * * Copy this template to your package. * - * For AXIS, the following constants are set appropriately. - * To adapt this scheme to another project, edit these attributes - * as/if necessary: - * - * packageName - * classLoader - * projectName - * resourceName - * locale - * parent + * For subpackages of org.apache.axis.*, the internal constants + * are set appropriately. To adapt this scheme to an extension project + * (package prefix differs from org.apache.axis.*), edit the projectName + * attribute. The others shouldn't need to be changed unless this is + * being adapted to a non-AXIS related project.. * * @author Richard A. Sitze ([EMAIL PROTECTED]) * @author Karl Moss ([EMAIL PROTECTED]) @@ -94,12 +89,13 @@ public class Messages { private static final Class thisClass = Messages.class; - private static final String packageName = getPackage(thisClass.getName()); - private static final ClassLoader classLoader = thisClass.getClassLoader(); - private static final String projectName = MessagesConstants.projectName; + private static final String resourceName = MessagesConstants.resourceName; private static final Locale locale = MessagesConstants.locale; + + private static final String packageName = getPackage(thisClass.getName()); + private static final ClassLoader classLoader = thisClass.getClassLoader(); private static final ResourceBundle parent = (MessagesConstants.rootPackageName == packageName)