dims        2002/09/18 08:36:37

  Modified:    java/src/org/apache/axis/components/i18n
                        MessageBundleFactory.java
               java/src/org/apache/axis/utils axisNLS.properties
  Log:
  Fix "ant clean all-tests" failure.
  
  Revision  Changes    Path
  1.2       +4 -2      
xml-axis/java/src/org/apache/axis/components/i18n/MessageBundleFactory.java
  
  Index: MessageBundleFactory.java
  ===================================================================
  RCS file: 
/home/cvs/xml-axis/java/src/org/apache/axis/components/i18n/MessageBundleFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- MessageBundleFactory.java 17 Sep 2002 23:02:21 -0000      1.1
  +++ MessageBundleFactory.java 18 Sep 2002 15:36:37 -0000      1.2
  @@ -82,10 +82,12 @@
                            DefaultMessageBundle.class);
           
           if (bundle == null) {
  -            log.fatal("Unable to load messages!");
  +            log.fatal(Messages.getMessage("unabletoLoadMessages00"));
           }
   
  -        log.debug("axis.MessageBundle: " + bundle.getClass().getName());
  +        if (log.isDebugEnabled()) {
  +            log.debug("axis.MessageBundle: " + bundle.getClass().getName());
  +        }
   
           return bundle;
       } // getMessageBundle
  
  
  
  1.64      +3 -1      xml-axis/java/src/org/apache/axis/utils/axisNLS.properties
  
  Index: axisNLS.properties
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/axisNLS.properties,v
  retrieving revision 1.63
  retrieving revision 1.64
  diff -u -r1.63 -r1.64
  --- axisNLS.properties        17 Sep 2002 19:56:26 -0000      1.63
  +++ axisNLS.properties        18 Sep 2002 15:36:37 -0000      1.64
  @@ -1016,4 +1016,6 @@
   undefinedElem00=Element {0} is referenced but not defined.
   emptyref00=Error: missing type or ref attribute for node ''{0}''
   
  -cannotConnectError=Unable to connect
  \ No newline at end of file
  +cannotConnectError=Unable to connect
  +
  +unabletoLoadMessages00=Unable to load messages!
  
  
  


Reply via email to