You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ah...@apache.org on 2020/03/17 13:53:34 UTC

[isis] branch master updated: ISIS-2158: mitigates sonar bug

This is an automated email from the ASF dual-hosted git repository.

ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/isis.git


The following commit(s) were added to refs/heads/master by this push:
     new 70a8ce7  ISIS-2158: mitigates sonar bug
70a8ce7 is described below

commit 70a8ce7dfffc93c6b7032abad587543ed7523be6
Author: Andi Huber <ah...@apache.org>
AuthorDate: Tue Mar 17 14:53:24 2020 +0100

    ISIS-2158: mitigates sonar bug
---
 .../apache/isis/applib/services/wrapper/control/ControlAbstract.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/control/ControlAbstract.java b/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/control/ControlAbstract.java
index cdaed23..630420e 100644
--- a/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/control/ControlAbstract.java
+++ b/api/applib/src/main/java/org/apache/isis/applib/services/wrapper/control/ControlAbstract.java
@@ -81,9 +81,9 @@ public class ControlAbstract {
     /**
      * Initialized in constructor.
      */
-    @Getter @NonNull
+    @Getter
     private ExceptionHandler exceptionHandler;
-    public <T extends ControlAbstract> T with(ExceptionHandler exceptionHandler) {
+    public <T extends ControlAbstract> T with(@NonNull ExceptionHandler exceptionHandler) {
         this.exceptionHandler = exceptionHandler;
         return _Casts.uncheckedCast(this);
     }