@@ -182,9 +182,9 @@ public static boolean match(String expectedId, String actualId) {
182182 /**
183183 * Compares two maps for equality, handling null cases and checking both keys and values.
184184 * <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 >
185+ * <ol><li> Have the same size.</ol></li >
186+ * <ol><li> Contain the same keys.</ol></li >
187+ * <ol><li> Have equal values for each key (using {@link Objects#equals}).</ol></li >
188188 *
189189 * @param <K> The type of keys maintained by the maps.
190190 * @param <V> The type of mapped values。
@@ -213,8 +213,8 @@ public static <K, V> boolean equals(Map<K, V> map1, Map<K, V> map2) {
213213 /**
214214 * Compares two lists for equality, handling null cases and checking elements regardless of order.
215215 * <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 >
216+ * <ol><li> Have the same size.</ol></li >
217+ * <ol><li> Contain the same elements (using set comparison).</ol></li >
218218 * <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.
0 commit comments