zan-mateusz commented on code in PR #1425:
URL: https://github.com/apache/brooklyn-server/pull/1425#discussion_r2716827430
##########
camp/camp-brooklyn/src/main/java/org/apache/brooklyn/camp/brooklyn/spi/dsl/methods/BrooklynDslCommon.java:
##########
@@ -248,11 +247,13 @@ public static class DslBrooklynObjectConfigSupplier
extends BrooklynDslDeferredS
private Object keyName;
public DslBrooklynObjectConfigSupplier(BrooklynObjectInternal obj,
Object keyName) {
- checkNotNull(obj, "obj");
- checkNotNull(keyName, "keyName");
-
- this.obj = obj;
- this.keyName = keyName;
+ this.obj = checkNotNull(obj, "obj");
+ this.keyName = checkNotNull(keyName, "keyName");
+ }
+ @Override public BrooklynDslDeferredSupplier<?>
applyModificationVisitor(Function<BrooklynDslDeferredSupplier<?>,BrooklynDslDeferredSupplier<?>>
visitor) {
Review Comment:
no line break after @Override?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]