Github user lazyval commented on a diff in the pull request: https://github.com/apache/storm/pull/610#discussion_r34056406 --- Diff: external/storm-hive/src/main/java/org/apache/storm/hive/bolt/HiveBolt.java --- @@ -262,7 +261,7 @@ private void retireEldestWriter() { private int retireIdleWriters() { int count = 0; long now = System.currentTimeMillis(); - ArrayList<HiveEndPoint> retirees = new ArrayList<HiveEndPoint>(); + ArrayList<HiveEndPoint> retirees = new ArrayList<>(); --- End diff -- Diamond types are also Java 7 feature.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---