diff options
Diffstat (limited to 'libjava/javax/naming')
-rw-r--r-- | libjava/javax/naming/BinaryRefAddr.java | 2 | ||||
-rw-r--r-- | libjava/javax/naming/RefAddr.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libjava/javax/naming/BinaryRefAddr.java b/libjava/javax/naming/BinaryRefAddr.java index 29ca33d6ca2..d0a3a030f86 100644 --- a/libjava/javax/naming/BinaryRefAddr.java +++ b/libjava/javax/naming/BinaryRefAddr.java @@ -97,7 +97,7 @@ public class BinaryRefAddr extends RefAddr * the addrType is the same as this addrType and the bytes of the * content are the same. */ - public boolean equal(Object o) + public boolean equals(Object o) { if (o instanceof BinaryRefAddr) { diff --git a/libjava/javax/naming/RefAddr.java b/libjava/javax/naming/RefAddr.java index 9ed504f760d..a1c096c10d8 100644 --- a/libjava/javax/naming/RefAddr.java +++ b/libjava/javax/naming/RefAddr.java @@ -61,7 +61,7 @@ public abstract class RefAddr implements Serializable * The string resprenstation of the type of address. * Set by the constructor and returned by the getType() method. */ - protected final String addrType; + protected String addrType; /** * Protected constructor for use by subclasses. @@ -98,7 +98,7 @@ public abstract class RefAddr implements Serializable * is the same as this addrType and the content is equals to the * content of this object. */ - public boolean equal(Object o) + public boolean equals(Object o) { if (o instanceof RefAddr) { |