harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r498542 - /harmony/enhanced/classlib/trunk/modules/security/src/test/support/common/java/org/apache/harmony/security/tests/support/MyLoadStoreParams.java
Date Mon, 22 Jan 2007 06:14:47 GMT
Author: smishura
Date: Sun Jan 21 22:14:46 2007
New Revision: 498542

URL: http://svn.apache.org/viewvc?view=rev&rev=498542
Log:
Remove unnecessary check - testing scenario may need to pass null parameter

Modified:
    harmony/enhanced/classlib/trunk/modules/security/src/test/support/common/java/org/apache/harmony/security/tests/support/MyLoadStoreParams.java

Modified: harmony/enhanced/classlib/trunk/modules/security/src/test/support/common/java/org/apache/harmony/security/tests/support/MyLoadStoreParams.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/test/support/common/java/org/apache/harmony/security/tests/support/MyLoadStoreParams.java?view=diff&rev=498542&r1=498541&r2=498542
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/test/support/common/java/org/apache/harmony/security/tests/support/MyLoadStoreParams.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/test/support/common/java/org/apache/harmony/security/tests/support/MyLoadStoreParams.java
Sun Jan 21 22:14:46 2007
@@ -26,18 +26,13 @@
 
 /**
  * Additional class extends KeyStore.LoadStoreParameter
- * 
  */
-
 public class MyLoadStoreParams implements 
         KeyStore.LoadStoreParameter {
     
     KeyStore.ProtectionParameter protPar;
 
     public MyLoadStoreParams(KeyStore.ProtectionParameter p) {
-        if (p == null) {
-            throw new NullPointerException("null parameter");
-        }
         this.protPar = p;
     }
 



Mime
View raw message