prohibit '*' in FqNameUnsafe
This commit is contained in:
@@ -59,7 +59,7 @@ public class FqNameUnsafe {
|
||||
|
||||
|
||||
private void validateFqName() {
|
||||
if (fqName.indexOf('/') >= 0) {
|
||||
if (fqName.indexOf('/') >= 0 || fqName.indexOf('*') >= 0) {
|
||||
throw new IllegalArgumentException("incorrect fq name: " + fqName);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user