coldrye-archive / settings

Simple API that allows you to model your application settings using standard Java POJOs. Similar to Java Beans using annotations or Spring. Useful in situations where you do not want the extra overhead induced by the Spring framework.
Apache License 2.0
0 stars 0 forks source link

Get rid of duplicate code once Java 8 was released #74

Closed silkentrance closed 6 years ago

silkentrance commented 10 years ago

See http://axnsoftware.github.io/commons-settings/maven/cpd.html

The existing class hierarchy does not permit refactoring of duplicate code as this would require multiple inheritance on the class level.

As soon as Java 8 is available, the duplicate code should be implemented as default methods on then introduced interfaces.

This will also require a 2.x.x release as the change will be incompatible with Java 7.

silkentrance commented 6 years ago

done