User: juhalindfors
  Date: 02/02/03 11:04:42

  Modified:    src/main/javax/management/loading MLet.java
  Log:
  
  
  Revision  Changes    Path
  1.3       +3 -3      jmx/src/main/javax/management/loading/MLet.java
  
  Index: MLet.java
  ===================================================================
  RCS file: /cvsroot/jboss/jmx/src/main/javax/management/loading/MLet.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MLet.java 2002/01/30 03:06:17     1.2
  +++ MLet.java 2002/02/03 19:04:42     1.3
  @@ -30,7 +30,7 @@
   /**
    *
    * @author  <a href="mailto:[EMAIL PROTECTED]";>Juha Lindfors</a>.
  - * @version $Revision: 1.2 $  
  + * @version $Revision: 1.3 $  
    */
   public class MLet 
      extends URLClassLoader 
  @@ -179,9 +179,9 @@
                     }
                     
                     if (entry.code == null && entry.object == null)
  -                     throw new ServiceNotFoundException("<" + buf.toString() + "> 
is missing mandatory CODE | OBJECT attribute");
  +                     throw new ServiceNotFoundException("<" + 
buf.toString().replace('\n', ' ').replace('\r', ' ').replace('\t', ' ').trim() + "> is 
missing mandatory CODE | OBJECT attribute");
                     if (entry.archive == null)
  -                     throw new ServiceNotFoundException("<" + buf.toString() + "> 
is missing mandatory ARCHIVE attribute");
  +                     throw new ServiceNotFoundException("<" + 
buf.toString().replace('\n', ' ').replace('\r', ' ').replace('\t', ' ').trim() + "> is 
missing mandatory ARCHIVE attribute");
                        
                     mlets.add(entry);
                  }
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to