From 8a1a09bef81d6dbe6b8514f6284e31ec1872231a Mon Sep 17 00:00:00 2001 From: zihluwang Date: Sat, 2 Aug 2025 21:11:34 +0800 Subject: [PATCH] style: update code style remove javadoc of private fields --- .../main/java/com/onixbyte/tuple/Triple.java | 21 ++++++------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/tuple/src/main/java/com/onixbyte/tuple/Triple.java b/tuple/src/main/java/com/onixbyte/tuple/Triple.java index 77d67ad..60c2e5b 100644 --- a/tuple/src/main/java/com/onixbyte/tuple/Triple.java +++ b/tuple/src/main/java/com/onixbyte/tuple/Triple.java @@ -34,19 +34,8 @@ import java.util.Objects; */ public final class Triple { - /** - * The left element of the triple. - */ private L left; - - /** - * The middle element of the triple. - */ private M middle; - - /** - * The right element of the triple. - */ private R right; /** @@ -117,8 +106,8 @@ public final class Triple { } /** - * Checks if this {@code Triple} is equal to the specified object. - * Two {@code Triple}s are considered equal if their left, middle and right elements are equal. + * Checks if this {@code Triple} is equal to the specified object. Two {@code Triple}s are + * considered equal if their left, middle and right elements are equal. * * @param object the object to compare with * @return {@code true} if the objects are equal, {@code false} otherwise @@ -132,7 +121,8 @@ public final class Triple { } /** - * Calculates the hash code for this {@code Triple} based on its left, middle and right elements. + * Calculates the hash code for this {@code Triple} based on its left, middle and + * right elements. * * @return the hash code value for this object */ @@ -142,7 +132,8 @@ public final class Triple { } /** - * Returns a string representation of this {@code Triple}, including its left, middle and right elements. + * Returns a string representation of this {@code Triple}, including its left, middle and + * right elements. * * @return a string representation of the object */