abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From u..@apache.org
Subject svn commit: r474716 - /incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/security/Enc.java
Date Tue, 14 Nov 2006 10:12:28 GMT
Author: ugo
Date: Tue Nov 14 02:12:27 2006
New Revision: 474716

URL: http://svn.apache.org/viewvc?view=rev&rev=474716
Log:
Don't depend on test classes from other modules, as this will break the Maven build.

Modified:
    incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/security/Enc.java

Modified: incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/security/Enc.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/security/Enc.java?view=diff&rev=474716&r1=474715&r2=474716
==============================================================================
--- incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/security/Enc.java
(original)
+++ incubator/abdera/java/trunk/examples/src/main/java/org/apache/abdera/examples/security/Enc.java
Tue Nov 14 02:12:27 2006
@@ -29,7 +29,6 @@
 import org.apache.abdera.security.AbderaSecurity;
 import org.apache.abdera.security.Encryption;
 import org.apache.abdera.security.EncryptionOptions;
-import org.apache.abdera.test.security.EncryptionTest;
 
 public class Enc {
 
@@ -41,7 +40,7 @@
       Class.forName("org.bouncycastle.LICENSE");
       Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
     } catch (Exception e) {
-      EncryptionTest.fail("The Bouncy Castle JCE Provider is not available");
+      throw new RuntimeException("The Bouncy Castle JCE Provider is not available");
     }
     
     // Generate Encryption Key



Mime
View raw message