feat: 兼容1.0.0

This commit is contained in:
2023-10-25 22:46:42 +08:00
parent 818a480e42
commit 7aaaeb046d

View File

@@ -3,6 +3,7 @@ package cn.hamster3.mc.plugin.core.common.util;
import java.io.Serializable; import java.io.Serializable;
import java.util.Objects; import java.util.Objects;
@Deprecated
@SuppressWarnings("unused") @SuppressWarnings("unused")
public class Pair<K, V> implements Serializable { public class Pair<K, V> implements Serializable {
private final K key; private final K key;
@@ -34,3 +35,4 @@ public class Pair<K, V> implements Serializable {
return Objects.hash(key, value); return Objects.hash(key, value);
} }
} }