https://github.com/SpoonLabs/gumtree-spoon-ast-diff/blob/master/src/main/java/gumtree/spoon/diff/DiffImpl.java#L38
I feel that the use of the Operation class in the above line, and maybe in the entire file, should be parametrized with ? extends Operation<?>. This will reduce the number of warnings in projects which use gumtree-spoon as a package.
EDIT: missed a very important detail to parametrize Operation class.
https://github.com/SpoonLabs/gumtree-spoon-ast-diff/blob/master/src/main/java/gumtree/spoon/diff/DiffImpl.java#L38
I feel that the use of the
Operationclass in the above line, and maybe in the entire file, should be parametrized with? extends Operation<?>. This will reduce the number of warnings in projects which usegumtree-spoonas a package.EDIT: missed a very important detail to parametrize
Operationclass.