"adrian(a)jboss.org" wrote :
| We do have an interface,
| ...
| There was a previous discuss on this problem.
| The issue is basically if we don't use the OSGi version then we have
| to come up with some complicated code that handles comparisons between
| the different implementations when doing compareTo().
| ...
| Of course, its probably not a real problem in practice since it is unlikely that
| foo:1.0.0 uses a different version implementation to foo:1.0.1 or foo:2.0.0 :-)
VersionRange could accept a Comparator to allow for externalization of the Version
compareTo.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119179#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...