You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2015/06/07 11:25:57 UTC

camel git commit: Camel-Hazelcast Remove unuseful todos

Repository: camel
Updated Branches:
  refs/heads/master 0c7d9a839 -> 59b0a721d


Camel-Hazelcast Remove unuseful todos


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/59b0a721
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/59b0a721
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/59b0a721

Branch: refs/heads/master
Commit: 59b0a721d50dc8e2b94b1aec7f54917a544c2308
Parents: 0c7d9a8
Author: Andrea Cosentino <an...@gmail.com>
Authored: Sun Jun 7 11:24:07 2015 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Sun Jun 7 11:24:07 2015 +0200

----------------------------------------------------------------------
 .../camel/component/hazelcast/list/HazelcastListProducer.java     | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/59b0a721/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/list/HazelcastListProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/list/HazelcastListProducer.java b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/list/HazelcastListProducer.java
index fa26556..5a93a66 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/list/HazelcastListProducer.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/list/HazelcastListProducer.java
@@ -98,12 +98,10 @@ public class HazelcastListProducer extends HazelcastDefaultProducer {
     }
 
     private void get(Integer pos, Exchange exchange) {
-        // TODO: this operation is currently not supported by hazelcast
         exchange.getOut().setBody(this.list.get(pos));
     }
 
     private void set(Integer pos, Exchange exchange) {
-        // TODO: this operation is currently not supported by hazelcast
         if (null == pos) {
             throw new IllegalArgumentException("Empty position for set operation.");
         } else {
@@ -118,7 +116,6 @@ public class HazelcastListProducer extends HazelcastDefaultProducer {
             final Object body = exchange.getIn().getBody();
             list.remove(body);
         } else {
-            // TODO: this operation is currently not supported by hazelcast
             // removes the element at the specified position
             int position = pos;
             list.remove(position);