From 4fcac9d2cbdafb51e3ee9ca3b3da64fd86103174 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Tue, 26 Nov 2013 15:58:15 -0500 Subject: [PATCH] Remove artifact setting from manager dialog --- src/main/java/com/gitblit/wicket/charting/SecureChartDataEncoding.java | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/charting/SecureChartDataEncoding.java b/src/main/java/com/gitblit/wicket/charting/SecureChartDataEncoding.java index 90a0596..c5ac460 100644 --- a/src/main/java/com/gitblit/wicket/charting/SecureChartDataEncoding.java +++ b/src/main/java/com/gitblit/wicket/charting/SecureChartDataEncoding.java @@ -19,14 +19,15 @@ /** * This class is a pristine fork of org.wicketstuff.googlecharts.ChartDataEncoding * to bring the package-protected convert methods to SecureChart. - * + * * @author Daniel Spiewak */ public enum SecureChartDataEncoding { SIMPLE("s", "", ",") { - CharSequence convert(double value, double max) { + @Override + CharSequence convert(double value, double max) { if (value < 0) { return "_"; } @@ -42,7 +43,8 @@ }, TEXT("t", ",", "|") { - CharSequence convert(double value, double max) { + @Override + CharSequence convert(double value, double max) { if (value < 0) { value = -1; } @@ -56,7 +58,8 @@ }, EXTENDED("e", "", ",") { - CharSequence convert(double value, double max) { + @Override + CharSequence convert(double value, double max) { if (value < 0) { return "__"; } -- Gitblit v1.9.1