Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Simplify the plotter Column naming & R5.

  • Loading branch information...
commit 7872e7a740abef6ddda473f43617c6bdd3f00404 1 parent 5a6f0e2
@Fishrock123 Fishrock123 authored
Showing with 15 additions and 4 deletions.
  1. +15 −4 Bukkit/Metrics.java
View
19 Bukkit/Metrics.java
@@ -56,14 +56,25 @@
* Interface used to collect custom data for a plugin
*/
public static abstract class Plotter {
-
+ String ColumnName;
+
+ /**
+ * Set the column name for the plotted point
+ *
+ * @param ColumnName
+ */
+ public Plotter(String ColumnName) {
+ this.ColumnName = ColumnName;
+ }
+
/**
* Get the column name for the plotted point
*
* @return the plotted point's column name
*/
- public abstract String getColumnName();
-
+ public String getColumnName() {
+ return ColumnName;
+ }
/**
* Get the current value for the plotted point
*
@@ -97,7 +108,7 @@ public boolean equals(Object object) {
/**
* The metrics revision number
*/
- private final static int REVISION = 4;
+ private final static int REVISION = 5;
/**
* The base url of the metrics domain
Please sign in to comment.
Something went wrong with that request. Please try again.