Closed AndreG-P closed 4 years ago
FeatureSet provide the function clone but do not implement the marker interface cloneable.
Calling MathTerm#clone() on a term that contains featureset resulted in a CloneNotSupportedException.
MathTerm#clone()
CloneNotSupportedException
As a workaround, I wrote my own clone methods in MathTermUtility and FeatureSetUtility.
MathTermUtility
FeatureSetUtility
Fixed with ce414ff
FeatureSet provide the function clone but do not implement the marker interface cloneable.
Calling
MathTerm#clone()
on a term that contains featureset resulted in aCloneNotSupportedException
.