mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
more detailed assertion
This commit is contained in:
@@ -52,7 +52,7 @@ public class ConfigFileMetaData {
|
||||
myDirectoryPath = directoryPath;
|
||||
myFileNameFixed = fileNameFixed;
|
||||
myUnique = unique;
|
||||
LOG.assertTrue(versions.length > 0);
|
||||
LOG.assertTrue(versions.length > 0, "No versions specified for '" + id + "' descriptor");
|
||||
myVersions = versions;
|
||||
myOptional = optional;
|
||||
myDefaultVersion = defaultVersion != null ? defaultVersion : myVersions[myVersions.length - 1];
|
||||
|
||||
Reference in New Issue
Block a user