harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r555233 - in /harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security: Certificate.java Identity.java IdentityScope.java Security.java Signature.java SignatureSpi.java Signer.java
Date Wed, 11 Jul 2007 10:26:18 GMT
Author: tellison
Date: Wed Jul 11 03:26:14 2007
New Revision: 555233

URL: http://svn.apache.org/viewvc?view=rev&rev=555233
Log:
Add Deprecated annotations where defined in the spec.

Modified:
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Certificate.java
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Identity.java
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/IdentityScope.java
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signature.java
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/SignatureSpi.java
    harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signer.java

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Certificate.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Certificate.java?view=diff&rev=555233&r1=555232&r2=555233
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Certificate.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Certificate.java
Wed Jul 11 03:26:14 2007
@@ -32,6 +32,7 @@
  * @deprecated Replaced by behavior in
  *             {@link javax.security.cert javax.security.cert}
  */
+@Deprecated
 public interface Certificate {
 
     /**

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Identity.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Identity.java?view=diff&rev=555233&r1=555232&r2=555233
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Identity.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Identity.java
Wed Jul 11 03:26:14 2007
@@ -32,6 +32,7 @@
  * 
  * @deprecated
  */
+@Deprecated
 public abstract class Identity implements Principal, Serializable {
     private static final long serialVersionUID = 3609922007826600659L;
 

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/IdentityScope.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/IdentityScope.java?view=diff&rev=555233&r1=555232&r2=555233
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/IdentityScope.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/IdentityScope.java
Wed Jul 11 03:26:14 2007
@@ -24,13 +24,12 @@
 
 import java.util.Enumeration;
 
-import org.apache.harmony.security.SystemScope;
-
 
 /**
  * @com.intel.drl.spec_ref 
  * @deprecated
  */
+@Deprecated
 public abstract class IdentityScope extends Identity {
 
     /**

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java?view=diff&rev=555233&r1=555232&r2=555233
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Security.java
Wed Jul 11 03:26:14 2007
@@ -138,6 +138,7 @@
 	 *
 	 * @deprecated	Use AlgorithmParameters and KeyFactory instead
 	 */
+    @Deprecated
     public static String getAlgorithmProperty(String algName, String propName) {
         if (algName == null || propName == null) {
             return null;

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signature.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signature.java?view=diff&rev=555233&r1=555232&r2=555233
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signature.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signature.java
Wed Jul 11 03:26:14 2007
@@ -384,6 +384,7 @@
      *  
      * @deprecated Use {@link Signature#setParameter(AlgorithmParameterSpec) setParameter}
      */
+    @Deprecated
     public final void setParameter(String param, Object value)
             throws InvalidParameterException {
         engineSetParameter(param, value);
@@ -411,6 +412,7 @@
      * 
      * @deprecated There is no generally accepted parameter naming convention.
      */
+    @Deprecated
     public final Object getParameter(String param)
             throws InvalidParameterException {
         return engineGetParameter(param);

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/SignatureSpi.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/SignatureSpi.java?view=diff&rev=555233&r1=555232&r2=555233
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/SignatureSpi.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/SignatureSpi.java
Wed Jul 11 03:26:14 2007
@@ -163,6 +163,7 @@
 	 * @deprecated Use
 	 *             {@link SignatureSpi#engineSetParameter(AlgorithmParameterSpec) engineSetParameter}
 	 */
+    @Deprecated
     protected abstract void engineSetParameter(String param, Object value)
             throws InvalidParameterException;
 
@@ -188,6 +189,7 @@
 	 * 
 	 * @deprecated There is no generally accepted parameter naming convention.
 	 */
+    @Deprecated
     protected abstract Object engineGetParameter(String param)
             throws InvalidParameterException;
 

Modified: harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signer.java?view=diff&rev=555233&r1=555232&r2=555233
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signer.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/Signer.java
Wed Jul 11 03:26:14 2007
@@ -29,7 +29,7 @@
  *             {@link java.security.cert java.security.cert} package and
  *             {@link java.security.Principal Principal}
  */
-
+@Deprecated
 public abstract class Signer extends Identity {
 
     /**



Mime
View raw message