gt-referencing contains a cut-down version of DataUtilities with only fileToURL and urlToFile; it cannot use the proper implementation in gt-main because this would introduce a cyclic Maven dependency. This copy becomes stale because it does not receive the maintenance applied to DataUtilities in gt-main. This class should have been package-private, but because it is public, it has been used in several other places where the official gt-main version should be used instead (courtesy of Eclipse suggestions). The fix is to change this class to package-private to hide it from unintended users and to fix all those classes outside gt-referencing that use it to use the official gt-main class instead. |