CVS: beepcore-java/src/org/beepcore/beep/core TuningProfile.java,1.7,1.8

Huston Franklin <[email protected]> Sat, 05 Oct 2002 08:29:49 -0700
Newsgroups gmane.network.beep.beepcore.java.cvs
Message-ID <[email protected]>
Update of /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core
In directory usw-pr-cvs1:/tmp/cvs-serv6906/src/org/beepcore/beep/core

Modified Files:
	TuningProfile.java 
Log Message:
changed to use commons-logging

Index: TuningProfile.java
===================================================================
RCS file: /cvsroot/beepcore-java/beepcore-java/src/org/beepcore/beep/core/TuningProfile.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** TuningProfile.java	20 Aug 2002 03:04:26 -0000	1.7
--- TuningProfile.java	5 Oct 2002 15:29:47 -0000	1.8
***************
*** 3,6 ****
--- 3,7 ----
   *
   * Copyright (c) 2001 Invisible Worlds, Inc.  All rights reserved.
+  * Copyright (c) 2002 Huston Franklin.  All rights reserved.
   *
   * The contents of this file are subject to the Blocks Public License (the
***************
*** 18,27 ****
  
  
! import java.util.*;
! 
! import org.beepcore.beep.profile.*;
! import org.beepcore.beep.profile.tls.*;
! import org.beepcore.beep.util.*;
  
  
  /**
--- 19,27 ----
  
  
! import java.util.HashSet;
! import java.util.LinkedList;
  
+ import org.apache.commons.logging.Log;
+ import org.apache.commons.logging.LogFactory;
  
  /**
***************
*** 48,51 ****
--- 48,53 ----
      private static final String TLS_URI = "http://iana.org/beep/TLS";
  
+     private Log log = LogFactory.getLog(this.getClass());
+ 
      // Data
      // If the channel has begun tuning, it's in the table.
***************
*** 76,80 ****
      {
          tuningChannels.remove(channel);
!         Log.logEntry(Log.SEV_DEBUG, "TuningProfile.abort");
  
          // Log entry or something - throw an exception???
--- 78,82 ----
      {
          tuningChannels.remove(channel);
!         log.debug("TuningProfile.abort");
  
          // Log entry or something - throw an exception???
***************
*** 97,101 ****
              throws BEEPException
      {
!         Log.logEntry(Log.SEV_DEBUG, "TuningProfile.begin");
  
          Session session = channel.getSession();
--- 99,103 ----
              throws BEEPException
      {
!         log.debug("TuningProfile.begin");
  
          Session session = channel.getSession();
***************
*** 138,142 ****
      {
          try {
!             Log.logEntry(Log.SEV_DEBUG, "TuningProfile.complete");
  
              Session s = channel.getSession();
--- 140,144 ----
      {
          try {
!             log.debug("TuningProfile.complete");
  
              Session s = channel.getSession();



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf