mariofusco commented on code in PR #6090:
URL: 
https://github.com/apache/incubator-kie-drools/pull/6090#discussion_r1771052656


##########
drools-model/drools-codegen-common/src/main/java/org/drools/codegen/common/di/impl/SpringDependencyInjectionAnnotator.java:
##########
@@ -154,19 +161,22 @@ public String emitterType(String dataType) {
 
     @Override
     public <T extends NodeWithAnnotations<?>> T withConfigInjection(T node, 
String configKey) {
-        node.addAnnotation(new SingleMemberAnnotationExpr(new 
Name("org.springframework.beans.factory.annotation.Value"), new 
StringLiteralExpr("${" + configKey + ":#{null}}")));
+        node.addAnnotation(new SingleMemberAnnotationExpr(new 
Name("org.springframework.beans.factory.annotation" +
+                                                                           
".Value"),
+                                                          new 
StringLiteralExpr("${" + configKey + ":#{null}}")));
         return node;
     }
 
     @Override
     public <T extends NodeWithAnnotations<?>> T withConfigInjection(T node, 
String configKey, String defaultValue) {
-        node.addAnnotation(new SingleMemberAnnotationExpr(new 
Name("org.springframework.beans.factory.annotation.Value"), new 
StringLiteralExpr("${" + configKey + ":" + defaultValue + "}")));
+        node.addAnnotation(new SingleMemberAnnotationExpr(new 
Name("org.springframework.beans.factory.annotation" +
+                                                                           
".Value"),
+                                                          new 
StringLiteralExpr("${" + configKey + ":" + defaultValue + "}")));

Review Comment:
   Same as above.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to