summaryrefslogtreecommitdiff
path: root/java/security
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2004-04-02 21:29:25 +0000
committerTom Tromey <tromey@redhat.com>2004-04-02 21:29:25 +0000
commit0ef31916de15f7186de8d720d6cabc5d9bb5fe21 (patch)
tree41276049602d828a2de3b22bdb69781ebd2582dc /java/security
parent718b18c26126e182be0c3aee96bc82654d1aa02e (diff)
downloadclasspath-0ef31916de15f7186de8d720d6cabc5d9bb5fe21.tar.gz
* java/rmi/MarshalledObject.java (MarshalledObject): Removed
redundant `extends'. * java/security/Security.java (Security): Removed redundant `extends'. * java/security/spec/DSAPublicKeySpec.java (DSAPublicKeySpec): Removed redundant `extends'. * java/security/spec/DSAPrivateKeySpec.java (DSAPrivateKeySpec): Removed redundant `extends'. * java/security/spec/DSAParameterSpec.java (DSAParameterSpec): Removed redundant `extends'. * javax/naming/directory/SearchControls.java (SearchControls): Removed redundant `extends'. * javax/naming/spi/DirStateFactory.java (Result): Removed redundant modifiers. * java/util/Map.java (Entry): Removed redundant modifiers. * java/text/AttributedCharacterIterator.java (Attribute): Removed redundant modifiers. * java/security/Security.java (provides): Removed unused label.
Diffstat (limited to 'java/security')
-rw-r--r--java/security/Security.java6
-rw-r--r--java/security/spec/DSAParameterSpec.java4
-rw-r--r--java/security/spec/DSAPrivateKeySpec.java4
-rw-r--r--java/security/spec/DSAPublicKeySpec.java4
4 files changed, 9 insertions, 9 deletions
diff --git a/java/security/Security.java b/java/security/Security.java
index ef716150a..d7edf2065 100644
--- a/java/security/Security.java
+++ b/java/security/Security.java
@@ -1,5 +1,5 @@
/* Security.java --- Java base security class implementation
- Copyright (C) 1999, 2001, 2002, 2003, Free Software Foundation, Inc.
+ Copyright (C) 1999, 2001, 2002, 2003, 2004, Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -59,7 +59,7 @@ import java.util.Vector;
*
* @author Mark Benvenuto <ivymccough@worldnet.att.net>
*/
-public final class Security extends Object
+public final class Security
{
private static final String ALG_ALIAS = "Alg.Alias.";
@@ -670,7 +670,7 @@ public final class Security extends Object
outer: for (int r = 0; r < 3; r++) // guard against circularity
{
serviceDotAlgorithm = (svc+"."+String.valueOf(algo)).trim();
- inner: for (it = p.keySet().iterator(); it.hasNext(); )
+ for (it = p.keySet().iterator(); it.hasNext(); )
{
key = (String) it.next();
if (key.equalsIgnoreCase(serviceDotAlgorithm)) // eureka
diff --git a/java/security/spec/DSAParameterSpec.java b/java/security/spec/DSAParameterSpec.java
index fa0ebce7a..5c7911f74 100644
--- a/java/security/spec/DSAParameterSpec.java
+++ b/java/security/spec/DSAParameterSpec.java
@@ -1,5 +1,5 @@
/* DSAParameterSpec.java --- DSA Parameter Specificaton class
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -48,7 +48,7 @@ import java.math.BigInteger;
@author Mark Benvenuto
*/
-public class DSAParameterSpec extends Object implements AlgorithmParameterSpec, DSAParams
+public class DSAParameterSpec implements AlgorithmParameterSpec, DSAParams
{
private BigInteger p = null;
private BigInteger q = null;
diff --git a/java/security/spec/DSAPrivateKeySpec.java b/java/security/spec/DSAPrivateKeySpec.java
index b4025d61c..c148481ca 100644
--- a/java/security/spec/DSAPrivateKeySpec.java
+++ b/java/security/spec/DSAPrivateKeySpec.java
@@ -1,5 +1,5 @@
/* DSAPrivateKeySpec.java --- DSA Private Key Specificaton class
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -47,7 +47,7 @@ import java.math.BigInteger;
@author Mark Benvenuto
*/
-public class DSAPrivateKeySpec extends Object implements KeySpec
+public class DSAPrivateKeySpec implements KeySpec
{
private BigInteger x = null;
private BigInteger p = null;
diff --git a/java/security/spec/DSAPublicKeySpec.java b/java/security/spec/DSAPublicKeySpec.java
index ef7337118..687f8dd10 100644
--- a/java/security/spec/DSAPublicKeySpec.java
+++ b/java/security/spec/DSAPublicKeySpec.java
@@ -1,5 +1,5 @@
/* DSAPublicKeySpec.java --- DSA Public Key Specificaton class
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -47,7 +47,7 @@ import java.math.BigInteger;
@author Mark Benvenuto
*/
-public class DSAPublicKeySpec extends Object implements KeySpec
+public class DSAPublicKeySpec implements KeySpec
{
private BigInteger y = null;
private BigInteger p = null;