commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benedikt Ritter <brit...@apache.org>
Subject Re: svn commit: r1533527 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
Date Sun, 20 Oct 2013 13:58:39 GMT
woops, thanks for spotting this :-)


2013/10/18 <sebb@apache.org>

> Author: sebb
> Date: Fri Oct 18 16:03:17 2013
> New Revision: 1533527
>
> URL: http://svn.apache.org/r1533527
> Log:
> Spelling
>
> Modified:
>
> commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
>
> Modified:
> commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
> URL:
> http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java?rev=1533527&r1=1533526&r2=1533527&view=diff
>
> ==============================================================================
> ---
> commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
> (original)
> +++
> commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/ObjectUtils.java
> Fri Oct 18 16:03:17 2013
> @@ -149,7 +149,7 @@ public class ObjectUtils {
>       * @param object1  the first object, may be {@code null}
>       * @param object2  the second object, may be {@code null}
>       * @return {@code true} if the values of both objects are the same
> -     * @deprecated this method has been replaces by {@code
> java.util.Objects.equals(Object, Object)} in Java 7 and will
> +     * @deprecated this method has been replaced by {@code
> java.util.Objects.equals(Object, Object)} in Java 7 and will
>       * be removed from future releases.
>       */
>      public static boolean equals(final Object object1, final Object
> object2) {
> @@ -379,7 +379,7 @@ public class ObjectUtils {
>       * @param obj  the Object to {@code toString}, may be null
>       * @return the passed in Object's toString, or {@code ""} if {@code
> null} input
>       * @since 2.0
> -     * @deprecated this method has been replaces by {@code
> java.util.Objects.toString(Object)} in Java 7 and will be
> +     * @deprecated this method has been replaced by {@code
> java.util.Objects.toString(Object)} in Java 7 and will be
>       * removed in future releases. Note however that said method will
> return "null" for null references, while this
>       * method returns and empty String. To preserve behavior use {@code
> java.util.Objects.toString(myObject, "")}
>       */
> @@ -405,7 +405,7 @@ public class ObjectUtils {
>       * @param nullStr  the String to return if {@code null} input, may be
> null
>       * @return the passed in Object's toString, or {@code nullStr} if
> {@code null} input
>       * @since 2.0
> -     * @deprecated this method has been replaces by {@code
> java.util.Objects.toString(Object, String)} in Java 7 and
> +     * @deprecated this method has been replaced by {@code
> java.util.Objects.toString(Object, String)} in Java 7 and
>       * will be removed in future releases.
>       */
>      public static String toString(final Object obj, final String nullStr)
> {
>
>
>


-- 
http://people.apache.org/~britter/
http://www.systemoutprintln.de/
http://twitter.com/BenediktRitter
http://github.com/britter

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message