[clean code] dependency javatuple is unused #11975
Labels
dependencies
Pull requests that update a dependency file
kind/enhancement
Category issues or prs related to enhancement.
Describe the bug
Dependency org.javatuple is dependency in 3 modules
consistency
naming
andcore
.Only class Pair of org.javatuple is used in consistency/src/main/java/com/alibaba/nacos/consistency/ProtocolMetaData.java
The method
public Map<String, Map<Object, Object>> getMetaDataMap()
use the pair.We can replace it with com.alibaba.nacos.common.utils.Pair;
Expected behavior
not contains depdency javatuple
Actually behavior
contains depdency javatuple
The text was updated successfully, but these errors were encountered: