Hi all, imaging has a lot of constant interfaces and even the org.apache.commons.imaging.formats.tiff.constants.AllTagConstants interface which combine several interfaces.
I'm in the "no constant interfaces" group. An interface should be used to, well, define an interface. Defining interfaces only for the purpose of holding constants doesn't really make sense imho. I would like to use constant classes instead. Using static imports, the use of constants in the code will look the same as before. Further more, logic that is currently contained in the TagConstantUtils class (for example mergeTagLists, can be moved to the corresponding Constant class as private static method, which will also remove it from the public API. I'd like to here what others think about this, since I expect this to be partly a question of taste. Regards, Benedikt -- http://people.apache.org/~britter/ http://www.systemoutprintln.de/ http://twitter.com/BenediktRitter http://github.com/britter