Repository: commons-lang Updated Branches: refs/heads/master 6e48ce6cd -> 8dae1f290
Better exception message. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/8dae1f29 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/8dae1f29 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/8dae1f29 Branch: refs/heads/master Commit: 8dae1f2904b93127f101bd36c1c79e801385a8f7 Parents: 6e48ce6 Author: Gary Gregory <[email protected]> Authored: Fri Nov 10 11:28:57 2017 -0700 Committer: Gary Gregory <[email protected]> Committed: Fri Nov 10 11:28:57 2017 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/commons/lang3/ObjectUtils.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/8dae1f29/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 1ec0956..5c73e0b 100644 --- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java +++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java @@ -353,7 +353,7 @@ public class ObjectUtils { * @since 3.2 */ public static void identityToString(final Appendable appendable, final Object object) throws IOException { - Validate.notNull(object, "Cannot get the toString of a null identity"); + Validate.notNull(object, "Cannot get the toString of a null object"); appendable.append(object.getClass().getName()) .append('@') .append(Integer.toHexString(System.identityHashCode(object))); @@ -378,7 +378,7 @@ public class ObjectUtils { */ @Deprecated public static void identityToString(final StrBuilder builder, final Object object) { - Validate.notNull(object, "Cannot get the toString of a null identity"); + Validate.notNull(object, "Cannot get the toString of a null object"); builder.append(object.getClass().getName()) .append('@') .append(Integer.toHexString(System.identityHashCode(object))); @@ -400,7 +400,7 @@ public class ObjectUtils { * @since 2.4 */ public static void identityToString(final StringBuffer buffer, final Object object) { - Validate.notNull(object, "Cannot get the toString of a null identity"); + Validate.notNull(object, "Cannot get the toString of a null object"); buffer.append(object.getClass().getName()) .append('@') .append(Integer.toHexString(System.identityHashCode(object))); @@ -422,7 +422,7 @@ public class ObjectUtils { * @since 3.2 */ public static void identityToString(final StringBuilder builder, final Object object) { - Validate.notNull(object, "Cannot get the toString of a null identity"); + Validate.notNull(object, "Cannot get the toString of a null object"); builder.append(object.getClass().getName()) .append('@') .append(Integer.toHexString(System.identityHashCode(object)));
