aboutsummaryrefslogtreecommitdiff
path: root/src/jdk/nashorn/internal/runtime/PropertyDescriptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jdk/nashorn/internal/runtime/PropertyDescriptor.java')
-rw-r--r--src/jdk/nashorn/internal/runtime/PropertyDescriptor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jdk/nashorn/internal/runtime/PropertyDescriptor.java b/src/jdk/nashorn/internal/runtime/PropertyDescriptor.java
index f36bd45e..e00759ba 100644
--- a/src/jdk/nashorn/internal/runtime/PropertyDescriptor.java
+++ b/src/jdk/nashorn/internal/runtime/PropertyDescriptor.java
@@ -154,8 +154,8 @@ public interface PropertyDescriptor {
/**
* Check existence and compare attributes of descriptors.
- *
- * @return true if every field of this desc exists in otherDesc and has the same value.
+ * @param otherDesc other descriptor to compare to
+ * @return true if every field of this descriptor exists in otherDesc and has the same value.
*/
public boolean hasAndEquals(PropertyDescriptor otherDesc);
}