From: Mateusz Warowny Date: Mon, 11 Apr 2022 13:31:35 +0000 (+0200) Subject: JAL-3878 Allow null value for action name X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2190cb1a1fefe0c0d3e911e5c166d6de2aaa1b31;p=jalview.git JAL-3878 Allow null value for action name --- diff --git a/src/jalview/ws2/actions/BaseAction.java b/src/jalview/ws2/actions/BaseAction.java index 106937b..6e92f4c 100644 --- a/src/jalview/ws2/actions/BaseAction.java +++ b/src/jalview/ws2/actions/BaseAction.java @@ -23,7 +23,7 @@ public abstract class BaseAction implements ActionI { protected WebService webService; - protected String name; + protected String name = null; protected String tooltip = ""; @@ -116,7 +116,6 @@ public abstract class BaseAction implements ActionI { Objects.requireNonNull(builder.webService); this.webService = builder.webService; - Objects.requireNonNull(builder.name); this.name = builder.name; this.tooltip = builder.tooltip; this.subcategory = builder.subcategory;