Skip to content

Commit

Permalink
[NETBEANS-4438] Fix new action wizard
Browse files Browse the repository at this point in the history
  • Loading branch information
lkishalmi committed Jul 7, 2020
1 parent abc559e commit 143ef55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apisupport/apisupport.wizards/manifest.mf
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ AutoUpdate-Show-In-Client: false
OpenIDE-Module: org.netbeans.modules.apisupport.wizards
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/apisupport/project/ui/wizard/common/Bundle.properties
OpenIDE-Module-Layer: org/netbeans/modules/apisupport/project/ui/wizard/common/layer.xml
OpenIDE-Module-Specification-Version: 1.28
OpenIDE-Module-Specification-Version: 1.28.1

Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ void setEdContextSeparatorBefore(boolean separator) {
this.edContextSeparatorBefore = separator;
}

static class ActionReferenceModel implements Serializable {
public static class ActionReferenceModel implements Serializable {
String parentPath;
String name;
int beforeSep;
Expand All @@ -630,7 +630,7 @@ static class ActionReferenceModel implements Serializable {

public ActionReferenceModel(String parentPath, String name, int beforeSep, int afterSep, int position) {
this.parentPath = parentPath;
this.name = name;
this.name = name != null ? name : "";
this.beforeSep = beforeSep;
this.afterSep = afterSep;
this.position = position;
Expand All @@ -645,7 +645,7 @@ public int position() {
}

public String name() {
return name == null ? "" : name;
return name;
}

public int separatorBefore() {
Expand All @@ -658,7 +658,7 @@ public int separatorAfter() {

@Override
public String toString() {
return "ActionReferenceModel{" + "parentPath=" + parentPath + ", name=" + name + ", beforeSep=" + beforeSep + ", afterSep=" + afterSep + ", position=" + position + '}';
return "ActionReferenceModel{" + "path=" + parentPath + ", name=" + name + ", beforeSep=" + beforeSep + ", afterSep=" + afterSep + ", position=" + position + '}';
}


Expand Down

0 comments on commit 143ef55

Please sign in to comment.