You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/05/25 12:59:06 UTC
[commons-lang] branch master updated: Remove useless in-line
comments.
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 57e5a3e Remove useless in-line comments.
57e5a3e is described below
commit 57e5a3edd1fde05f7b4b39138ace14ec72d450b0
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue May 25 08:59:00 2021 -0400
Remove useless in-line comments.
---
.../java/org/apache/commons/lang3/ClassUtils.java | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/src/main/java/org/apache/commons/lang3/ClassUtils.java b/src/main/java/org/apache/commons/lang3/ClassUtils.java
index de71e91..2f95b07 100644
--- a/src/main/java/org/apache/commons/lang3/ClassUtils.java
+++ b/src/main/java/org/apache/commons/lang3/ClassUtils.java
@@ -163,8 +163,6 @@ public class ClassUtils {
public ClassUtils() {
}
- // Short class name
- // ----------------------------------------------------------------------
/**
* <p>Gets the class name of the {@code object} without the package name or names.</p>
*
@@ -426,8 +424,6 @@ public class ClassUtils {
return className.substring(0, i);
}
- // Abbreviated name
- // ----------------------------------------------------------------------
/**
* <p>Gets the abbreviated name of a {@code Class}.</p>
*
@@ -555,8 +551,6 @@ public class ClassUtils {
runAheadTarget + originalLength - source <= desiredLength;
}
- // Superclasses/Superinterfaces
- // ----------------------------------------------------------------------
/**
* <p>Gets a {@code List} of superclasses for the given class.</p>
*
@@ -621,8 +615,6 @@ public class ClassUtils {
}
}
- // Convert list
- // ----------------------------------------------------------------------
/**
* <p>Given a {@code List} of class names, this method converts them into classes.</p>
*
@@ -677,8 +669,6 @@ public class ClassUtils {
return classNames;
}
- // Is assignable
- // ----------------------------------------------------------------------
/**
* <p>Checks if an array of Classes can be assigned to another array of Classes.</p>
*
@@ -1031,8 +1021,6 @@ public class ClassUtils {
return convertedClasses;
}
- // Inner class
- // ----------------------------------------------------------------------
/**
* <p>Is the specified class an inner class or static nested class.</p>
*
@@ -1044,8 +1032,6 @@ public class ClassUtils {
return cls != null && cls.getEnclosingClass() != null;
}
- // Class loading
- // ----------------------------------------------------------------------
/**
* Returns the class represented by {@code className} using the
* {@code classLoader}. This implementation supports the syntaxes
@@ -1134,8 +1120,6 @@ public class ClassUtils {
return getClass(loader, className, initialize);
}
- // Public method
- // ----------------------------------------------------------------------
/**
* <p>Returns the desired Method much like {@code Class.getMethod}, however
* it ensures that the returned Method is from a public class or interface and not
@@ -1188,7 +1172,6 @@ public class ClassUtils {
methodName + " " + ArrayUtils.toString(parameterTypes));
}
- // ----------------------------------------------------------------------
/**
* Converts a class name to a JLS style class name.
*
@@ -1239,8 +1222,6 @@ public class ClassUtils {
return classes;
}
- // Short canonical name
- // ----------------------------------------------------------------------
/**
* <p>Gets the canonical name minus the package name for an {@code Object}.</p>
*
@@ -1375,8 +1356,6 @@ public class ClassUtils {
return getShortClassName(getCanonicalName(canonicalName));
}
- // Package name
- // ----------------------------------------------------------------------
/**
* <p>Gets the package name from the class name of an {@code Object}.</p>
*