Skip to content

Commit

Permalink
[hotfix][metrics] Remove unused ScopeFormats constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Oct 31, 2017
1 parent 9c1a67d commit d11a983
Showing 1 changed file with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
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.
*/
Expand Down Expand Up @@ -76,24 +74,6 @@ public 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
// ------------------------------------------------------------------------
Expand Down

0 comments on commit d11a983

Please sign in to comment.