jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r654789 - /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/security/user/AbstractUserTest.java
Date Fri, 09 May 2008 13:02:55 GMT
Author: tripod
Date: Fri May  9 06:02:54 2008
New Revision: 654789

URL: http://svn.apache.org/viewvc?rev=654789&view=rev
Log:
Avoid using 1.5 methods

Modified:
    jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/security/user/AbstractUserTest.java

Modified: jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/security/user/AbstractUserTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/security/user/AbstractUserTest.java?rev=654789&r1=654788&r2=654789&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/security/user/AbstractUserTest.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/api/security/user/AbstractUserTest.java
Fri May  9 06:02:54 2008
@@ -86,9 +86,9 @@
                 password.append(Text.digest(SecurityConstants.DEFAULT_DIGEST, uid.getBytes("UTF-8")));
                 return password.toString();
             } catch (NoSuchAlgorithmException e) {
-                throw new IllegalArgumentException(e);
+                throw new IllegalArgumentException(e.toString());
             } catch (UnsupportedEncodingException e) {
-                throw new IllegalArgumentException(e);
+                throw new IllegalArgumentException(e.toString());
             }
         } else {
             return uid;



Mime
View raw message