commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pascalschumac...@apache.org
Subject [1/2] [lang] fix typo in ObjectUtils#toString javadoc
Date Fri, 28 Oct 2016 16:28:06 GMT
Repository: commons-lang
Updated Branches:
  refs/heads/master eafeca432 -> 9b481a970


fix typo in ObjectUtils#toString javadoc


Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/61bc7f27
Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/61bc7f27
Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/61bc7f27

Branch: refs/heads/master
Commit: 61bc7f27b498d919d0a534d00de2aa6d0ebf7447
Parents: eafeca4
Author: pascalschumacher <pascalschumacher@gmx.net>
Authored: Fri Oct 28 18:18:09 2016 +0200
Committer: pascalschumacher <pascalschumacher@gmx.net>
Committed: Fri Oct 28 18:18:09 2016 +0200

----------------------------------------------------------------------
 src/main/java/org/apache/commons/lang3/ObjectUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-lang/blob/61bc7f27/src/main/java/org/apache/commons/lang3/ObjectUtils.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
index f951e7d..ec4eb61 100644
--- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
@@ -451,7 +451,7 @@ public class ObjectUtils {
      * @since 2.0
      * @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,
"")}
+     * method returns an empty String. To preserve behavior use {@code java.util.Objects.toString(myObject,
"")}
      */
     @Deprecated
     public static String toString(final Object obj) {


Mime
View raw message