harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r410838 - in /incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common: java/security/Provider.java java/security/Security.java org/apache/harmony/security/x509/Extension.java
Date Thu, 01 Jun 2006 11:15:27 GMT
Author: mloenko
Date: Thu Jun  1 04:15:26 2006
New Revision: 410838

URL: http://svn.apache.org/viewvc?rev=410838&view=rev
Log:
some clean-up

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/Extension.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java?rev=410838&r1=410837&r2=410838&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Provider.java
Thu Jun  1 04:15:26 2006
@@ -688,7 +688,7 @@
                 i = service_alias.indexOf(".");
                 serviceName = service_alias.substring(0, i);
                 aliasName = service_alias.substring(i + 1);
-                algorithm = (String) value;
+                algorithm = value;
                 String algUp = algorithm.toUpperCase();
                 Object o = null;
                 if (propertyServiceTable == null) {
@@ -737,10 +737,10 @@
                 }
                 if (o != null) {
                     s = (Provider.Service) o;
-                    s.className = (String) value;
+                    s.className = value;
                 } else {
                     s = new Provider.Service(this, serviceName, algorithm,
-                            (String) value, new ArrayList(), new HashMap());
+                            value, new ArrayList(), new HashMap());
                     if (propertyServiceTable == null) {
                         propertyServiceTable = new TwoKeyHashMap(128);
                     }

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java?rev=410838&r1=410837&r2=410838&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
Thu Jun  1 04:15:26 2006
@@ -26,8 +26,6 @@
 import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
-import java.security.AlgorithmParameters;
-import java.security.KeyFactory;
 import java.util.Enumeration;
 import java.net.URL;
 import java.util.HashMap;

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/Extension.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/Extension.java?rev=410838&r1=410837&r2=410838&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/Extension.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/org/apache/harmony/security/x509/Extension.java
Thu Jun  1 04:15:26 2006
@@ -27,8 +27,6 @@
 import java.util.Date;
 import java.util.List;
 
-import javax.security.auth.x500.X500Principal;
-
 import org.apache.harmony.security.asn1.ASN1BitString;
 import org.apache.harmony.security.asn1.ASN1Boolean;
 import org.apache.harmony.security.asn1.ASN1Enumerated;



Mime
View raw message