@@ -181,10 +181,10 @@ public static boolean match(String expectedId, String actualId) {
181181
182182 /**
183183 * Compares two maps for equality, handling null cases and checking both keys and values.
184- * Two maps are considered equal if they are both null, or if they:
185- * 1. Have the same size.
186- * 2. Contain the same keys.
187- * 3. Have equal values for each key (using {@link Objects#equals}).
184+ * <p> Two maps are considered equal if they are both null, or if they:</p>
185+ * <p> 1. Have the same size.</p>
186+ * <p> 2. Contain the same keys.</p>
187+ * <p> 3. Have equal values for each key (using {@link Objects#equals}).</p>
188188 *
189189 * @param <K> The type of keys maintained by the maps.
190190 * @param <V> The type of mapped values。
@@ -212,10 +212,10 @@ public static <K, V> boolean equals(Map<K, V> map1, Map<K, V> map2) {
212212
213213 /**
214214 * Compares two lists for equality, handling null cases and checking elements regardless of order.
215- * Two lists are considered equal if they are both null, or if they:
216- * 1. Have the same size.
217- * 2. Contain the same elements (using set comparison).
218- * Note: This implementation considers [1,2,2] and [1,1,2] as equal due to set conversion.
215+ * <p> Two lists are considered equal if they are both null, or if they:</p>
216+ * <p> 1. Have the same size.</p>
217+ * <p> 2. Contain the same elements (using set comparison).</p>
218+ * <p> Note: This implementation considers [1,2,2] and [1,1,2] as equal due to set conversion.</p>
219219 *
220220 * @param <T> The type of elements in the lists.
221221 * @param list1 The first list to compare (may be null).
0 commit comments