summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-12-02 23:14:29 +0000
committerGodin <mandrikov@gmail.com>2010-12-02 23:14:29 +0000
commit6d06ee547ef611e54e43e73e24c57ab64cb04ee7 (patch)
treebda336b5636db5a86c2cc442c142c86907db8726
parent52c5150f264fd1f20151caf663c497f53410ed8c (diff)
downloadsonarqube-6d06ee547ef611e54e43e73e24c57ab64cb04ee7.tar.gz
sonarqube-6d06ee547ef611e54e43e73e24c57ab64cb04ee7.zip
Fix violation reported on Nemo.
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/charts/AbstractChart.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/charts/AbstractChart.java b/sonar-plugin-api/src/main/java/org/sonar/api/charts/AbstractChart.java
index 72c26d3e587..753eca570a0 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/charts/AbstractChart.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/charts/AbstractChart.java
@@ -26,11 +26,12 @@ import org.jfree.chart.renderer.AbstractRenderer;
import org.jfree.chart.title.TextTitle;
import org.jfree.data.Values2D;
-import java.awt.*;
+import java.awt.Color;
import java.awt.image.BufferedImage;
/**
* An extension point to generate JFreeChart charts
+ *
* @since 1.10
*/
public abstract class AbstractChart implements Chart {
@@ -38,8 +39,8 @@ public abstract class AbstractChart implements Chart {
public static final int FONT_SIZE = 13;
public static final Color OUTLINE_COLOR = new Color(51, 51, 51);
public static final Color GRID_COLOR = new Color(204, 204, 204);
- public static final Color[] COLORS = new Color[]{Color.decode("#4192D9"), Color.decode("#800000"), Color.decode("#A7B307"), Color.decode("#913C9F"), Color.decode("#329F4D")};
-
+ public static final Color[] COLORS = new Color[] { Color.decode("#4192D9"), Color.decode("#800000"), Color.decode("#A7B307"),
+ Color.decode("#913C9F"), Color.decode("#329F4D") };
protected abstract Plot getPlot(ChartParameters params);
@@ -49,7 +50,7 @@ public abstract class AbstractChart implements Chart {
/**
* Generates a JFreeChart chart using a set of parameters
- *
+ *
* @param params the chart parameters
* @return the generated chart
*/
@@ -74,7 +75,6 @@ public abstract class AbstractChart implements Chart {
return getKey();
}
-
/**
* Helper to set color of series. If the parameter colorsHex is null, then default Sonar colors are used.
*/