sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject svn commit: r1393922 - in /sis/trunk: sis-metadata/src/main/java/org/apache/sis/metadata/ModifiableMetadata.java sis-utility/src/main/java/org/apache/sis/util/Arrays.java sis-utility/src/main/java/org/apache/sis/util/collection/package-info.java
Date Thu, 04 Oct 2012 05:39:37 GMT
Author: desruisseaux
Date: Thu Oct  4 05:39:37 2012
New Revision: 1393922

URL: http://svn.apache.org/viewvc?rev=1393922&view=rev
Log:
Minor javadoc fixes.

Modified:
    sis/trunk/sis-metadata/src/main/java/org/apache/sis/metadata/ModifiableMetadata.java
    sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Arrays.java
    sis/trunk/sis-utility/src/main/java/org/apache/sis/util/collection/package-info.java

Modified: sis/trunk/sis-metadata/src/main/java/org/apache/sis/metadata/ModifiableMetadata.java
URL: http://svn.apache.org/viewvc/sis/trunk/sis-metadata/src/main/java/org/apache/sis/metadata/ModifiableMetadata.java?rev=1393922&r1=1393921&r2=1393922&view=diff
==============================================================================
--- sis/trunk/sis-metadata/src/main/java/org/apache/sis/metadata/ModifiableMetadata.java (original)
+++ sis/trunk/sis-metadata/src/main/java/org/apache/sis/metadata/ModifiableMetadata.java Thu
Oct  4 05:39:37 2012
@@ -218,7 +218,7 @@ public abstract class ModifiableMetadata
      * instead than this method when the collection type is enforced by ISO specification.
      * When the type is not enforced by the specification, some freedom are allowed at
      * implementor choice. The default implementation invokes {@link #collectionType(Class)}
-     * in order to get a hint about whatever a {@link List} or a {@link Set} should be used.
+     * in order to get a hint about whether a {@link List} or a {@link Set} should be used.
      *
      * @param  <E>         The type of elements in the collection.
      * @param  source      The source collection, or {@code null}.
@@ -313,7 +313,7 @@ public abstract class ModifiableMetadata
      * nonNullSet} instead than this method when the collection type is enforced by ISO
      * specification. When the type is not enforced by the specification, some freedom are
      * allowed at implementor choice. The default implementation invokes
-     * {@link #collectionType(Class)} in order to get a hint about whatever a {@link List}
+     * {@link #collectionType(Class)} in order to get a hint about whether a {@link List}
      * or a {@link Set} should be used.
      *
      * @param  <E> The type of elements in the collection.
@@ -374,7 +374,7 @@ public abstract class ModifiableMetadata
      *
      * @param  <E> The type of elements in the collection to be created.
      * @param  elementType The type of elements in the collection to be created.
-     * @return {@code List.class} or {@code Set.class} depending on whatever the
+     * @return {@code List.class} or {@code Set.class} depending on whether the
      *         attribute shall accept duplicated values or not.
      */
     @SuppressWarnings({"rawtypes","unchecked"})

Modified: sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Arrays.java
URL: http://svn.apache.org/viewvc/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Arrays.java?rev=1393922&r1=1393921&r2=1393922&view=diff
==============================================================================
--- sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Arrays.java (original)
+++ sis/trunk/sis-utility/src/main/java/org/apache/sis/util/Arrays.java Thu Oct  4 05:39:37
2012
@@ -37,7 +37,7 @@ import org.apache.sis.internal.util.Obje
  *   <li>The {@link #insert(Object[], int, Object[], int, int) insert} and {@link #remove(Object[],
  *       int, int) remove} methods for adding and removing elements in the middle of an
array.</li>
  *   <li>The {@link #isSorted(Object[], Comparator, boolean) isSorted} methods for
verifying
- *       whatever an array is sorted, strictly or not.</li>
+ *       if an array is sorted, strictly or not.</li>
  * </ul>
  *
  * {@section Handling of null values}

Modified: sis/trunk/sis-utility/src/main/java/org/apache/sis/util/collection/package-info.java
URL: http://svn.apache.org/viewvc/sis/trunk/sis-utility/src/main/java/org/apache/sis/util/collection/package-info.java?rev=1393922&r1=1393921&r2=1393922&view=diff
==============================================================================
--- sis/trunk/sis-utility/src/main/java/org/apache/sis/util/collection/package-info.java (original)
+++ sis/trunk/sis-utility/src/main/java/org/apache/sis/util/collection/package-info.java Thu
Oct  4 05:39:37 2012
@@ -22,9 +22,9 @@
  *   <li><p>
  *     {@link org.apache.sis.util.collection.WeakHashSet} provides a way to ensure that
  *     a factory returns unique instances for all values that are equal in the sense of
- *     {@link java.lang.Object#equals Object.equals(Object)}. The values that were created
- *     in previous factory operations are retained by {@linkplain java.lang.ref.WeakReference
- *     weak references} for reuse.
+ *     {@link java.util.Objects#deepEquals(Object, Object) Objects.deepEquals(Object, Object)}.
+ *     The values that were created in previous factory operations are retained by
+ *     {@linkplain java.lang.ref.WeakReference weak references} for reuse.
  *   </p></li><li><p>
  *     {@link org.apache.sis.util.collection.Cache} and
  *     {@link org.apache.sis.util.collection.WeakValueHashMap} are {@link java.util.Map java.util.Map}



Mime
View raw message