@@ -201,7 +201,7 @@ public WildcardType build() {
201201 /**
202202 * Specify lower bounds of the wildcard type to build.
203203 *
204- * @param bounds to set
204+ * @param bounds to set.
205205 * @return {@code this} instance.
206206 */
207207 public WildcardTypeBuilder withLowerBounds (final Type ... bounds ) {
@@ -342,7 +342,7 @@ private static void appendRecursiveTypes(final StringBuilder builder, final int[
342342 * Formats a {@link Class} as a {@link String}.
343343 *
344344 * @param cls {@link Class} to format.
345- * @return String.
345+ * @return The class as a String.
346346 */
347347 private static <T > String classToString (final Class <T > cls ) {
348348 if (cls .isArray ()) {
@@ -366,8 +366,8 @@ private static <T> String classToString(final Class<T> cls) {
366366 /**
367367 * Tests, recursively, whether any of the type parameters associated with {@code type} are bound to variables.
368368 *
369- * @param type the type to check for type variables.
370- * @return boolean .
369+ * @param type The type to check for type variables.
370+ * @return Whether any of the type parameters associated with {@code type} are bound to variables .
371371 * @since 3.2
372372 */
373373 public static boolean containsTypeVariables (final Type type ) {
@@ -476,11 +476,11 @@ private static boolean equals(final ParameterizedType parameterizedType, final T
476476 }
477477
478478 /**
479- * Tests equality of types.
479+ * Tests whether the given types are equal .
480480 *
481- * @param type1 the first type.
482- * @param type2 the second type.
483- * @return boolean .
481+ * @param type1 The first type.
482+ * @param type2 The second type.
483+ * @return Whether the given types are equal .
484484 * @since 3.2
485485 */
486486 public static boolean equals (final Type type1 , final Type type2 ) {
@@ -500,11 +500,11 @@ public static boolean equals(final Type type1, final Type type2) {
500500 }
501501
502502 /**
503- * Tests whether {@code t1} equals {@code t2} .
503+ * Tests whether the given type arrays are equal .
504504 *
505505 * @param type1 LHS.
506506 * @param type2 RHS.
507- * @return boolean .
507+ * @return Whether the given type arrays are equal .
508508 */
509509 private static boolean equals (final Type [] type1 , final Type [] type2 ) {
510510 if (type1 .length == type2 .length ) {
@@ -519,11 +519,11 @@ private static boolean equals(final Type[] type1, final Type[] type2) {
519519 }
520520
521521 /**
522- * Tests whether {@code t } equals {@code w }.
522+ * Tests whether {@code wildcardType } equals {@code type }.
523523 *
524524 * @param wildcardType LHS.
525525 * @param type RHS.
526- * @return boolean .
526+ * @return Whether {@code wildcardType} equals {@code type} .
527527 */
528528 private static boolean equals (final WildcardType wildcardType , final Type type ) {
529529 if (type instanceof WildcardType ) {
0 commit comments