|
20 | 20 | import org.apache.commons.lang3.StringUtils; |
21 | 21 | import org.apache.logging.log4j.LogManager; |
22 | 22 | import org.apache.logging.log4j.Logger; |
| 23 | +import org.jetbrains.annotations.NotNull; |
23 | 24 | import org.json.JSONArray; |
24 | 25 | import org.json.JSONException; |
25 | 26 | import org.json.JSONObject; |
@@ -159,7 +160,7 @@ public void validateCommand(Object form, Errors errors) |
159 | 160 | } |
160 | 161 |
|
161 | 162 | @Override |
162 | | - public URLHelper getSuccessURL(Object form) |
| 163 | + public @NotNull URLHelper getSuccessURL(Object form) |
163 | 164 | { |
164 | 165 | return getContainer().getStartURL(getUser()); |
165 | 166 | } |
@@ -281,7 +282,7 @@ public boolean handlePost(EnsureAssayFieldsForm form, BindException errors) thro |
281 | 282 | } |
282 | 283 |
|
283 | 284 | @Override |
284 | | - public URLHelper getSuccessURL(EnsureAssayFieldsForm form) |
| 285 | + public @NotNull URLHelper getSuccessURL(EnsureAssayFieldsForm form) |
285 | 286 | { |
286 | 287 | if (form.getReturnActionURL() != null) |
287 | 288 | return form.getReturnActionURL(); |
@@ -384,7 +385,7 @@ private ContainerIncrementingTable getTable(String schema, String query, BindExc |
384 | 385 | } |
385 | 386 |
|
386 | 387 | @Override |
387 | | - public URLHelper getSuccessURL(SetTableIncrementForm form) |
| 388 | + public @NotNull URLHelper getSuccessURL(SetTableIncrementForm form) |
388 | 389 | { |
389 | 390 | return getContainer().getStartURL(getUser()); |
390 | 391 | } |
@@ -483,7 +484,7 @@ public boolean handlePost(Object form, BindException errors) throws Exception |
483 | 484 | } |
484 | 485 |
|
485 | 486 | @Override |
486 | | - public URLHelper getSuccessURL(Object form) |
| 487 | + public @NotNull URLHelper getSuccessURL(Object form) |
487 | 488 | { |
488 | 489 | return getContainer().getStartURL(getUser()); |
489 | 490 | } |
@@ -555,7 +556,7 @@ private void processContainer(Container c, String schema, String query) |
555 | 556 | } |
556 | 557 |
|
557 | 558 | @Override |
558 | | - public URLHelper getSuccessURL(SetTableIncrementForm form) |
| 559 | + public @NotNull URLHelper getSuccessURL(SetTableIncrementForm form) |
559 | 560 | { |
560 | 561 | return getContainer().getStartURL(getUser()); |
561 | 562 | } |
@@ -594,7 +595,7 @@ public boolean handlePost(Object form, BindException errors) throws Exception |
594 | 595 | } |
595 | 596 |
|
596 | 597 | @Override |
597 | | - public URLHelper getSuccessURL(Object form) |
| 598 | + public @NotNull URLHelper getSuccessURL(Object form) |
598 | 599 | { |
599 | 600 | return getContainer().getStartURL(getUser()); |
600 | 601 | } |
|
0 commit comments