Open tsantalis opened 5 months ago
@pouryafard75
Additional case studies of Replace Generic with Diamond
.
L27 - R46
L34 - R75
However, in this case we have an overlapping Replace Attribute with Local Variable
refactoring
@pouryafard75 What is happening with this issue? We should get it fixed.
This is how the diff currently looks like. There is a multi-mapping. It is better than before, but still not perfect.
@pouryafard75 It is very strange that this happens, because in all other cases of
Replace Generic with Diamond
in the same file the types are matched correctlyhttps://github.com/NLPchina/ansj_seg/commit/913704e
src/main/java/org/ansj/app/keyword/KeyWordComputer.java
L71:
TreeSet<Keyword> treeSet = new TreeSet<Keyword>(tm.values());
R69:TreeSet<Keyword> treeSet = new TreeSet<>(tm.values());