aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/profiler/chart/Chart.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/profiler/chart/Chart.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/profiler/chart/Chart.java18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/profiler/chart/Chart.java b/src/main/java/com/google/devtools/build/lib/profiler/chart/Chart.java
index b13fb8f1c2..47119a4023 100644
--- a/src/main/java/com/google/devtools/build/lib/profiler/chart/Chart.java
+++ b/src/main/java/com/google/devtools/build/lib/profiler/chart/Chart.java
@@ -14,7 +14,6 @@
package com.google.devtools.build.lib.profiler.chart;
-import com.google.common.base.Preconditions;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
@@ -29,9 +28,6 @@ public class Chart {
/** The type that is returned when an unknown type is looked up. */
public static final ChartBarType UNKNOWN_TYPE = new ChartBarType("Unknown type", Color.RED);
- /** The title of the chart. */
- private final String title;
-
/** The rows of the chart. */
private final Map<Long, ChartRow> rows = new HashMap<>();
@@ -51,16 +47,6 @@ public class Chart {
private long maxStop;
/**
- * Creates a chart.
- *
- * @param title the title of the chart
- */
- public Chart(String title) {
- Preconditions.checkNotNull(title);
- this.title = title;
- }
-
- /**
* Adds a bar to a row of the chart. If a row with the given id already
* exists, the bar is added to the row, otherwise a new row is created and the
* bar is added to it.
@@ -206,10 +192,6 @@ public class Chart {
return list;
}
- public String getTitle() {
- return title;
- }
-
public int getRowCount() {
return rows.size();
}