felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mccu...@apache.org
Subject svn commit: r1185100 - in /felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography: Signer.java Verifier.java
Date Mon, 17 Oct 2011 10:46:46 GMT
Author: mcculls
Date: Mon Oct 17 10:46:45 2011
New Revision: 1185100

URL: http://svn.apache.org/viewvc?rev=1185100&view=rev
Log:
Fix Java6isms

Modified:
    felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Signer.java
    felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Verifier.java

Modified: felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Signer.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Signer.java?rev=1185100&r1=1185099&r2=1185100&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Signer.java (original)
+++ felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Signer.java Mon Oct 17
10:46:45 2011
@@ -16,7 +16,7 @@ public class Signer<D extends Digest> ex
 		try {
 			signature.update(buffer, offset, length);
 		} catch (SignatureException e) {
-			throw new IOException(e);
+			throw new IOException(e.getMessage());
 		}
 	}
 
@@ -24,7 +24,7 @@ public class Signer<D extends Digest> ex
 		try {
 			signature.update((byte) b);
 		} catch (SignatureException e) {
-			throw new IOException(e);
+			throw new IOException(e.getMessage());
 		}
 	}
 	

Modified: felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Verifier.java
URL: http://svn.apache.org/viewvc/felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Verifier.java?rev=1185100&r1=1185099&r2=1185100&view=diff
==============================================================================
--- felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Verifier.java (original)
+++ felix/trunk/bundleplugin/src/main/java/aQute/libg/cryptography/Verifier.java Mon Oct 17
10:46:45 2011
@@ -18,7 +18,7 @@ public class Verifier extends OutputStre
 		try {
 			signature.update(buffer, offset, length);
 		} catch (SignatureException e) {
-			throw new IOException(e);
+			throw new IOException(e.getMessage());
 		}
 	}
 
@@ -27,7 +27,7 @@ public class Verifier extends OutputStre
 		try {
 			signature.update((byte) b);
 		} catch (SignatureException e) {
-			throw new IOException(e);
+			throw new IOException(e.getMessage());
 		}
 	}
 



Mime
View raw message