This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push:
new 601e976 Remove dead inline comments.
601e976 is described below
commit 601e976b0d5a9bb323fd2625c8d3751d1547a5d2
Author: Gary Gregory <[email protected]>
AuthorDate: Wed Jun 2 17:32:51 2021 -0400
Remove dead inline comments.
---
src/main/java/org/apache/commons/lang3/ObjectUtils.java | 15 +--------------
1 file changed, 1 insertion(+), 14 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
index fd50655..582b1f0 100644
--- a/src/main/java/org/apache/commons/lang3/ObjectUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ObjectUtils.java
@@ -52,8 +52,6 @@ import org.apache.commons.lang3.time.DurationUtils;
// because it is part of the signature of deprecated methods
public class ObjectUtils {
- // Null
- //-----------------------------------------------------------------------
/**
* <p>Class used as a null placeholder where {@code null}
* has another meaning.</p>
@@ -230,8 +228,6 @@ public class ObjectUtils {
return !allNotNull(values);
}
- // cloning
- //-----------------------------------------------------------------------
/**
* <p>Clone an object.</p>
*
@@ -832,8 +828,6 @@ public class ObjectUtils {
.append(Integer.toHexString(System.identityHashCode(object)));
}
- // Identity ToString
- //-----------------------------------------------------------------------
/**
* <p>Gets the toString that would be produced by {@code Object}
* if a class did not override toString itself. {@code null}
@@ -965,8 +959,6 @@ public class ObjectUtils {
*/
- // Empty checks
- //-----------------------------------------------------------------------
/**
* <p>Checks if an Object is empty or null.</p>
*
@@ -1110,8 +1102,6 @@ public class ObjectUtils {
return result;
}
- // Comparable
- //-----------------------------------------------------------------------
/**
* <p>Null safe comparison of Comparables.</p>
*
@@ -1139,8 +1129,6 @@ public class ObjectUtils {
}
- // Mode
- //-----------------------------------------------------------------------
/**
* Find the most frequently occurring item.
*
@@ -1258,8 +1246,6 @@ public class ObjectUtils {
return obj;
}
- // ToString
- //-----------------------------------------------------------------------
/**
* <p>Gets the {@code toString} of an {@code Object} returning
* an empty string ("") if {@code null} input.</p>
@@ -1284,6 +1270,7 @@ public class ObjectUtils {
public static String toString(final Object obj) {
return obj == null ? StringUtils.EMPTY : obj.toString();
}
+
/**
* <p>Gets the {@code toString} of an {@code Object} returning
* a specified text if {@code null} input.</p>