[hotfix] Fix unchecked conversion in JobDetailsHandler

Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/48ce77c7
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/48ce77c7
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/48ce77c7

Branch: refs/heads/table-retraction
Commit: 48ce77c79d3efd0ccab2806057ff01cf435f7c1a
Parents: 68605d0
Author: zentol <ches...@apache.org>
Authored: Wed Mar 29 16:09:12 2017 +0200
Committer: zentol <ches...@apache.org>
Committed: Wed Apr 5 20:41:15 2017 +0200

----------------------------------------------------------------------
 .../flink/runtime/webmonitor/handlers/JobDetailsHandler.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/48ce77c7/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JobDetailsHandler.java
----------------------------------------------------------------------
diff --git 
a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JobDetailsHandler.java
 
b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JobDetailsHandler.java
index 029a4b5..37a1c19 100644
--- 
a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JobDetailsHandler.java
+++ 
b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JobDetailsHandler.java
@@ -80,7 +80,7 @@ public class JobDetailsHandler extends 
AbstractExecutionGraphRequestHandler {
                                .replace(":jobid", graph.getJobID().toString());
                        String path2 = JOB_DETAILS_VERTICES_REST_PATH
                                .replace(":jobid", graph.getJobID().toString());
-                       Collection<ArchivedJson> archives = new ArrayList();
+                       Collection<ArchivedJson> archives = new ArrayList<>();
                        archives.add(new ArchivedJson(path1, json));
                        archives.add(new ArchivedJson(path2, json));
                        return archives;

Reply via email to