You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2017/10/31 12:37:03 UTC

[07/10] flink git commit: [hotfix][metrics] Remove unused ScopeFormats constructor

[hotfix][metrics] Remove unused ScopeFormats constructor


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

Branch: refs/heads/master
Commit: d11a9836f81bf8386071ad03355b32e8d086c0f9
Parents: 9c1a67d
Author: zentol <ch...@apache.org>
Authored: Mon Oct 30 15:09:42 2017 +0100
Committer: zentol <ch...@apache.org>
Committed: Tue Oct 31 11:53:45 2017 +0100

----------------------------------------------------------------------
 .../runtime/metrics/scope/ScopeFormats.java     | 20 --------------------
 1 file changed, 20 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/d11a9836/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/scope/ScopeFormats.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/scope/ScopeFormats.java b/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/scope/ScopeFormats.java
index dc49d32..986d7ef 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/scope/ScopeFormats.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/metrics/scope/ScopeFormats.java
@@ -21,8 +21,6 @@ package org.apache.flink.runtime.metrics.scope;
 import org.apache.flink.configuration.Configuration;
 import org.apache.flink.configuration.MetricOptions;
 
-import static org.apache.flink.util.Preconditions.checkNotNull;
-
 /**
  * A container for component scope formats.
  */
@@ -76,24 +74,6 @@ public class ScopeFormats {
 		this.operatorFormat = new OperatorScopeFormat(operatorFormat, this.taskFormat);
 	}
 
-	/**
-	 * Creates a {@code ScopeFormats} with the given scope formats.
-	 */
-	public ScopeFormats(
-			JobManagerScopeFormat jobManagerFormat,
-			JobManagerJobScopeFormat jobManagerJobFormat,
-			TaskManagerScopeFormat taskManagerFormat,
-			TaskManagerJobScopeFormat taskManagerJobFormat,
-			TaskScopeFormat taskFormat,
-			OperatorScopeFormat operatorFormat) {
-		this.jobManagerFormat = checkNotNull(jobManagerFormat);
-		this.jobManagerJobFormat = checkNotNull(jobManagerJobFormat);
-		this.taskManagerFormat = checkNotNull(taskManagerFormat);
-		this.taskManagerJobFormat = checkNotNull(taskManagerJobFormat);
-		this.taskFormat = checkNotNull(taskFormat);
-		this.operatorFormat = checkNotNull(operatorFormat);
-	}
-
 	// ------------------------------------------------------------------------
 	//  Accessors
 	// ------------------------------------------------------------------------