Skip to content

Commit

Permalink
Remove Javadoc clutter
Browse files Browse the repository at this point in the history
We don't need `@since` tags in Javadoc
  • Loading branch information
garydgregory committed Apr 24, 2024
1 parent 79c66ae commit aad9a67
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions src/main/java/org/apache/commons/lang3/reflect/TypeUtils.java
Expand Up @@ -51,7 +51,6 @@ public class TypeUtils {

/**
* GenericArrayType implementation class.
* @since 3.2
*/
private static final class GenericArrayTypeImpl implements GenericArrayType {
private final Type componentType;
Expand Down Expand Up @@ -101,7 +100,6 @@ public String toString() {

/**
* ParameterizedType implementation class.
* @since 3.2
*/
private static final class ParameterizedTypeImpl implements ParameterizedType {
private final Class<?> raw;
Expand Down Expand Up @@ -177,6 +175,7 @@ public String toString() {

/**
* {@link WildcardType} builder.
*
* @since 3.2
*/
public static class WildcardTypeBuilder implements Builder<WildcardType> {
Expand Down Expand Up @@ -220,7 +219,6 @@ public WildcardTypeBuilder withUpperBounds(final Type... bounds) {

/**
* WildcardType implementation class.
* @since 3.2
*/
private static final class WildcardTypeImpl implements WildcardType {
private final Type[] upperBounds;
Expand Down Expand Up @@ -283,6 +281,7 @@ public String toString() {

/**
* A wildcard instance matching {@code ?}.
*
* @since 3.2
*/
public static final WildcardType WILDCARD_ALL = wildcardType().withUpperBounds(Object.class).build();
Expand All @@ -294,7 +293,6 @@ public String toString() {
* @param sep separator
* @param types to append
* @return {@code builder}
* @since 3.2
*/
private static <T> StringBuilder appendAllTo(final StringBuilder builder, final String sep,
@SuppressWarnings("unchecked") final T... types) {
Expand Down Expand Up @@ -459,7 +457,6 @@ public static Map<TypeVariable<?>, Type> determineTypeArguments(final Class<?> c
* @param genericArrayType LHS
* @param type RHS
* @return boolean
* @since 3.2
*/
private static boolean equals(final GenericArrayType genericArrayType, final Type type) {
return type instanceof GenericArrayType
Expand All @@ -472,7 +469,6 @@ private static boolean equals(final GenericArrayType genericArrayType, final Typ
* @param parameterizedType LHS
* @param type RHS
* @return boolean
* @since 3.2
*/
private static boolean equals(final ParameterizedType parameterizedType, final Type type) {
if (type instanceof ParameterizedType) {
Expand Down Expand Up @@ -515,7 +511,6 @@ public static boolean equals(final Type type1, final Type type2) {
* @param type1 LHS
* @param type2 RHS
* @return boolean
* @since 3.2
*/
private static boolean equals(final Type[] type1, final Type[] type2) {
if (type1.length == type2.length) {
Expand All @@ -535,7 +530,6 @@ private static boolean equals(final Type[] type1, final Type[] type2) {
* @param wildcardType LHS
* @param type RHS
* @return boolean
* @since 3.2
*/
private static boolean equals(final WildcardType wildcardType, final Type type) {
if (type instanceof WildcardType) {
Expand Down Expand Up @@ -593,7 +587,6 @@ public static GenericArrayType genericArrayType(final Type componentType) {
*
* @param genericArrayType {@link GenericArrayType} to format
* @return String
* @since 3.2
*/
private static String genericArrayTypeToString(final GenericArrayType genericArrayType) {
return String.format("%s[]", toString(genericArrayType.getGenericComponentType()));
Expand Down Expand Up @@ -1596,7 +1589,6 @@ public static final ParameterizedType parameterize(final Class<?> rawClass, fina
*
* @param parameterizedType {@link ParameterizedType} to format
* @return String
* @since 3.2
*/
private static String parameterizedTypeToString(final ParameterizedType parameterizedType) {
final StringBuilder builder = new StringBuilder();
Expand Down Expand Up @@ -1798,7 +1790,6 @@ public static boolean typesSatisfyVariables(final Map<TypeVariable<?>, Type> typ
*
* @param typeVariable {@link TypeVariable} to format
* @return String
* @since 3.2
*/
private static String typeVariableToString(final TypeVariable<?> typeVariable) {
final StringBuilder buf = new StringBuilder(typeVariable.getName());
Expand All @@ -1816,7 +1807,6 @@ private static String typeVariableToString(final TypeVariable<?> typeVariable) {
* @param typeArguments assignments {@link Map}
* @param bounds in which to expand variables
* @return {@code bounds} with any variables reassigned
* @since 3.2
*/
private static Type[] unrollBounds(final Map<TypeVariable<?>, Type> typeArguments, final Type[] bounds) {
Type[] result = bounds;
Expand All @@ -1839,7 +1829,6 @@ private static Type[] unrollBounds(final Map<TypeVariable<?>, Type> typeArgument
* @param typeVariable the type variable to look up
* @param typeVarAssigns the map used for the look-up
* @return Type or {@code null} if some variable was not in the map
* @since 3.2
*/
private static Type unrollVariableAssignments(TypeVariable<?> typeVariable, final Map<TypeVariable<?>, Type> typeVarAssigns) {
Type result;
Expand Down Expand Up @@ -1911,7 +1900,6 @@ public static WildcardTypeBuilder wildcardType() {
*
* @param wildcardType {@link WildcardType} to format
* @return String
* @since 3.2
*/
private static String wildcardTypeToString(final WildcardType wildcardType) {
final StringBuilder buf = new StringBuilder().append('?');
Expand Down

0 comments on commit aad9a67

Please sign in to comment.