/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.apache.flink.optimizer.plan;

import java.io.File;
import java.io.IOException;

import org.apache.flink.api.common.JobID;
import org.apache.flink.runtime.jobgraph.JobGraph;

import javax.annotation.Nullable;

/**
 * Abstract class representing Flink Streaming plans
 * 
 */
public abstract class StreamingPlan implements FlinkPlan {

	/**
	 * Gets the assembled {@link JobGraph} with a random {@link JobID}.
	 */
	@SuppressWarnings("deprecation")
	public JobGraph getJobGraph() {
		return getJobGraph(null);
	}

	/**
	 * Gets the assembled {@link JobGraph} with a specified {@link JobID}.
	 */
	public abstract JobGraph getJobGraph(@Nullable JobID jobID);

	public abstract String getStreamingPlanAsJSON();

	public abstract void dumpStreamingPlanAsJSON(File file) throws IOException;

}

@@ -846,58 +846,8 @@
 n;%0A%0A
-import java.io.File;%0Aimport java.io.IOException;%0A%0A
 impo
@@ -971,16 +971,66 @@
 lable;%0A%0A
+import java.io.File;%0Aimport java.io.IOException;%0A%0A
 /**%0A * A
@@ -1077,20 +1077,17 @@
 ng plans
-%0A * 
+.
 %0A */%0Apub

Fix Javadoc formatting and import order in StreamingPlan