aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java
diff options
context:
space:
mode:
authorlana <none@none>2013-06-10 17:04:30 -0700
committerlana <none@none>2013-06-10 17:04:30 -0700
commit73c254c612c9faf57393f1f36819aaf1b2777b74 (patch)
treebdf6cc11dbe58e0b73768633fa8aa120f2a56fa9 /src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java
parente82ed2454b833cf285c20ffc889da05a87bf0c4e (diff)
parent8cee5b9c9d775d340bd383fa768e72d28ffc0995 (diff)
Diffstat (limited to 'src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java')
-rw-r--r--src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java b/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java
index f76f7f19..31afc307 100644
--- a/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java
+++ b/src/jdk/nashorn/internal/objects/GenericPropertyDescriptor.java
@@ -150,11 +150,11 @@ public final class GenericPropertyDescriptor extends ScriptObject implements Pro
if (this == obj) {
return true;
}
- if (!(obj instanceof AccessorPropertyDescriptor)) {
+ if (!(obj instanceof GenericPropertyDescriptor)) {
return false;
}
- final AccessorPropertyDescriptor other = (AccessorPropertyDescriptor)obj;
+ final GenericPropertyDescriptor other = (GenericPropertyDescriptor)obj;
return ScriptRuntime.sameValue(configurable, other.configurable) &&
ScriptRuntime.sameValue(enumerable, other.enumerable);
}