changeset 21643:2081f8f294fe

Fixed some javadoc
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Mon, 01 Jun 2015 11:49:57 -0700
parents 57912478d94d
children 7eb156f30b61
files graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotConstantReflectionProvider.java graal/com.oracle.jvmci.meta/src/com/oracle/jvmci/meta/ConstantReflectionProvider.java
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotConstantReflectionProvider.java	Mon Jun 01 18:13:48 2015 +0200
+++ b/graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotConstantReflectionProvider.java	Mon Jun 01 11:49:57 2015 -0700
@@ -97,7 +97,7 @@
     /**
      * Try to convert {@code offset} into an an index into {@code array}.
      *
-     * @return -1 if the offset isn't within the array or the computed index
+     * @return the computed index or -1 if the offset isn't within the array
      */
     private int indexForOffset(JavaConstant array, long offset) {
         if (array.getKind() != Kind.Object || array.isNull()) {
--- a/graal/com.oracle.jvmci.meta/src/com/oracle/jvmci/meta/ConstantReflectionProvider.java	Mon Jun 01 18:13:48 2015 +0200
+++ b/graal/com.oracle.jvmci.meta/src/com/oracle/jvmci/meta/ConstantReflectionProvider.java	Mon Jun 01 11:49:57 2015 -0700
@@ -64,7 +64,7 @@
 
     /**
      * Reads a value from the given array at the given offset if it is a stable array. The offset
-     * will decoded relative to the platform addressing into an index into the array. Returns
+     * will be decoded relative to the platform addressing into an index into the array. Returns
      * {@code null} if the constant is not a stable array, if it is a default value, if the offset
      * is out of bounds, or if the value is not available at this point.
      */