mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
assert command name NotNull
This commit is contained in:
@@ -152,6 +152,7 @@ public abstract class BaseRefactoringProcessor implements Runnable {
|
||||
*/
|
||||
protected abstract void performRefactoring(@NotNull UsageInfo[] usages);
|
||||
|
||||
@NotNull
|
||||
protected abstract String getCommandName();
|
||||
|
||||
protected void doRun() {
|
||||
|
||||
@@ -33,6 +33,7 @@ import java.awt.event.MouseMotionListener;
|
||||
@SuppressWarnings("ConstantConditions")
|
||||
class HeadlessDialog implements AbstractDialog {
|
||||
@NotNull private final DialogWrapper myWrapper;
|
||||
private String myTitle;
|
||||
|
||||
HeadlessDialog(@NotNull DialogWrapper wrapper) {
|
||||
myWrapper = wrapper;
|
||||
@@ -113,7 +114,7 @@ class HeadlessDialog implements AbstractDialog {
|
||||
|
||||
@Override
|
||||
public String getTitle() {
|
||||
return null;
|
||||
return myTitle;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -141,6 +142,7 @@ class HeadlessDialog implements AbstractDialog {
|
||||
|
||||
@Override
|
||||
public void setTitle(String title) {
|
||||
myTitle = title;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user