CVS update: JGroups/src/org/jgroups/client StompConnection.java

"Bela Ban" <[email protected]> Wed, 27 Oct 2010 09:30:11 +0000
Newsgroups gmane.comp.java.javagroups.cvs
Message-ID <[email protected]>
  User: belaban 
  Date: 10/10/27 09:30:11

  Modified:    src/org/jgroups/client StompConnection.java
  Log:
  ns
  
  Revision  Changes    Path
  1.8       +3 -2      JGroups/src/org/jgroups/client/StompConnection.java
  
  Index: StompConnection.java
  ===================================================================
  RCS file: /cvsroot/javagroups/JGroups/src/org/jgroups/client/StompConnection.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- StompConnection.java	27 Oct 2010 09:25:01 -0000	1.7
  +++ StompConnection.java	27 Oct 2010 09:30:11 -0000	1.8
  @@ -27,7 +27,7 @@
    * <p/>
    * [1] http://stomp.codehaus.org/Protocol
    * @author Bela Ban
  - * @version $Id: StompConnection.java,v 1.7 2010/10/27 09:25:01 belaban Exp $
  + * @version $Id: StompConnection.java,v 1.8 2010/10/27 09:30:11 belaban Exp $
    */
   @Experimental @Unsupported
   public class StompConnection implements Runnable {
  @@ -208,7 +208,8 @@
                   STOMP.Frame frame=STOMP.readFrame(in);
                   if(frame != null) {
                       STOMP.ServerVerb verb=STOMP.ServerVerb.valueOf(frame.getVerb());
  -                    System.out.println("frame = " + frame);
  +                    if(log.isTraceEnabled())
  +                        log.trace("frame: " + frame);
                       switch(verb) {
                           case MESSAGE:
                               byte[] buf=frame.getBody();
  
  
  

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev