mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
warning about empty presentable name
This commit is contained in:
@@ -48,6 +48,9 @@ public abstract class BaseDataReader {
|
||||
}
|
||||
|
||||
protected void start(@NotNull final String presentableName) {
|
||||
if (StringUtil.isEmptyOrSpaces(presentableName)) {
|
||||
LOG.warn(new Throwable("Must provide not-empty presentable name"));
|
||||
}
|
||||
if (myFinishedFuture == null) {
|
||||
myFinishedFuture = executeOnPooledThread(new Runnable() {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user