You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/11/20 07:07:43 UTC

[GitHub] [camel] oscerd commented on a change in pull request #4638: [CAMEL-15871] remove item name prefix

oscerd commented on a change in pull request #4638:
URL: https://github.com/apache/camel/pull/4638#discussion_r527480580



##########
File path: components/camel-milo/src/main/java/org/apache/camel/component/milo/server/internal/CamelServerItem.java
##########
@@ -55,7 +55,7 @@ public CamelServerItem(final String itemId, final UaNodeContext nodeContext, fin
         this.itemId = itemId;
         this.baseNode = baseNode;
 
-        final NodeId nodeId = new NodeId(namespaceIndex, "items-" + itemId);
+        final NodeId nodeId = new NodeId(namespaceIndex, "" + itemId);

Review comment:
       I think you can remove the empty string concatenation.




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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org