Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/1069#discussion_r52520938
--- Diff: storm-core/src/jvm/org/apache/storm/utils/Utils.java ---
@@ -1374,5 +1374,37 @@ public static RuntimeException
wrapInRuntime(Exception e){
return new RuntimeException(e);
}
}
+
+ public static long bitXor(Object a, Object b) {
+ return ((Long) a) ^ ((Long) b);
+ }
+
+ public static <V> List<V> makeList(V... args) {
+ ArrayList<V> rtn = new ArrayList<V>();
+ for (V o : args) {
+ rtn.add(o);
+ }
+ return rtn;
+ }
+
+ public static <V> List<V> makeList(java.util.Set<V> args) {
+ ArrayList<V> rtn = new ArrayList<V>();
+ if (args != null) {
+ for (V o : args) {
+ rtn.add(o);
+ }
+ }
+ return rtn;
+ }
+
+ public static <V> List<V> makeList(Collection<V> args) {
--- End diff --
This is not used, lets delete it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---