[jboss-cvs] JBossRemoting/src/main/org/jboss/remoting/marshal/encryption ...
Tom Elrod
tom.elrod at jboss.com
Fri Aug 18 09:37:39 EDT 2006
User: telrod
Date: 06/08/18 09:37:39
Modified: src/main/org/jboss/remoting/marshal/encryption
EncryptionManager.java
Log:
Removed System.out.println
Revision Changes Path
1.4 +46 -50 JBossRemoting/src/main/org/jboss/remoting/marshal/encryption/EncryptionManager.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: EncryptionManager.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/main/org/jboss/remoting/marshal/encryption/EncryptionManager.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- EncryptionManager.java 16 Aug 2006 21:44:06 -0000 1.3
+++ EncryptionManager.java 18 Aug 2006 13:37:39 -0000 1.4
@@ -21,20 +21,18 @@
*/
package org.jboss.remoting.marshal.encryption;
+import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap;
+import org.jboss.logging.Logger;
+
+import javax.crypto.Cipher;
+import javax.crypto.spec.IvParameterSpec;
import java.io.InputStream;
import java.io.ObjectInput;
import java.io.ObjectInputStream;
import java.security.Key;
import java.util.Map;
-import javax.crypto.Cipher;
-import javax.crypto.spec.IvParameterSpec;
-
-import org.jboss.logging.Logger;
-
-import EDU.oswego.cs.dl.util.concurrent.ConcurrentHashMap;
-
-//$Id: EncryptionManager.java,v 1.3 2006/08/16 21:44:06 asaldhana Exp $
+//$Id: EncryptionManager.java,v 1.4 2006/08/18 13:37:39 telrod Exp $
/**
* Manager that deals with the generation of the Cipher
@@ -50,7 +48,7 @@
version 1.5, Nov 1993.
* @author <a href="mailto:Anil.Saldhana at jboss.org">Anil Saldhana</a>
* @since Aug 11, 2006
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class EncryptionManager
{
@@ -117,9 +115,7 @@
}
catch (Throwable e)
{
- if(log.isTraceEnabled())
- log.trace("getCipher failed:", e);
- System.out.println(e);
+ log.error("getCipher failed", e);
}
return cipher;
}
More information about the jboss-cvs-commits
mailing list