User: juhalindfors
  Date: 01/04/11 06:37:46

  Modified:    src/main/org/jboss/logging Log.java
  Log:
  Using Reader instead of InputStream.
  (Patch #414002 submitted by Samuel Niles Peretz)
  
  Revision  Changes    Path
  1.9       +3 -2      jboss/src/main/org/jboss/logging/Log.java
  
  Index: Log.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/logging/Log.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Log.java  2001/03/29 17:47:47     1.8
  +++ Log.java  2001/04/11 13:37:46     1.9
  @@ -17,7 +17,7 @@
    *
    *   @see <related>
    *   @author Rickard �berg ([EMAIL PROTECTED])
  - *   @version $Revision: 1.8 $
  + *   @version $Revision: 1.9 $
    */
   public abstract class Log
   {
  @@ -173,7 +173,8 @@
         exception.printStackTrace(out);
         out.close();
   
  -      DataInputStream din = new DataInputStream(new 
ByteArrayInputStream(baos.toByteArray()));
  +      BufferedReader din = new BufferedReader(
  +            new InputStreamReader(new ByteArrayInputStream(baos.toByteArray())));
   
         String error;
         try
  
  
  

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

Reply via email to