|
@@ -258,7 +258,11 @@ public class PluginInfo implements Comparable<PluginInfo>, ServiceProvider {
|
258
|
258
|
* @throws IOException if there is an error with the ResourceManager.
|
259
|
259
|
*/
|
260
|
260
|
public Map<String, InputStream> getLicenceStreams() throws IOException {
|
261
|
|
- return new TreeMap<String, InputStream>(getResourceManager().getResourcesStartingWithAsInputStreams("META-INF/licences/"));
|
|
261
|
+ final TreeMap<String, InputStream> licences =
|
|
262
|
+ new TreeMap<String, InputStream>(String.CASE_INSENSITIVE_ORDER);
|
|
263
|
+ licences.putAll(getResourceManager().getResourcesStartingWithAsInputStreams(
|
|
264
|
+ "META-INF/licences/"));
|
|
265
|
+ return licences;
|
262
|
266
|
}
|
263
|
267
|
|
264
|
268
|
/**
|