Permalink
Browse files

Code style: Remove unnecessary modifiers.

  • Loading branch information...
eseifert committed Jul 29, 2017
1 parent 14584e4 commit 6898779c37a481c8c02c59a767b2e3e989858296
@@ -57,7 +57,7 @@
/** Type to define the behavior when engaging the borders of a column, i.e.
the filter would need more data values than available. */
public static enum Mode {
public enum Mode {
/** Ignore missing values. */
OMIT,
/** Treat missing values as zero. */
@@ -32,7 +32,7 @@
/**
* Data type that describes the quality mode of drawing operations.
*/
public static enum Quality {
public enum Quality {
/** Fast drawing mode. */
DRAFT,
/** Standard drawing mode. */
@@ -44,7 +44,7 @@
/**
* Data type that describes the type of the drawing target.
*/
public static enum Target {
public enum Target {
/** Bitmap drawing target consisting of pixels. */
BITMAP,
/** Vector drawing target consisting of lines and curves. */
@@ -80,7 +80,7 @@
/**
* Token types for analyzing CSV or TSV input.
*/
private static enum CSVTokenType {
private enum CSVTokenType {
/** Type for text tokens containing empty content. */
EMPTY_SPACE,
/** Type for text tokens containing value content. */
@@ -38,7 +38,7 @@
* Returns the output format of this writer.
* @return String representing the MIME-Type.
*/
public String getMimeType();
String getMimeType();
/**
* Stores the specified {@code Drawable} instance.
@@ -48,8 +48,8 @@
* @param height Height of the image.
* @throws IOException if writing to stream fails
*/
public void write(Drawable d, OutputStream destination,
double width, double height) throws IOException;
void write(Drawable d, OutputStream destination,
double width, double height) throws IOException;
/**
* Stores the specified {@code Drawable} instance.
@@ -61,6 +61,6 @@ public void write(Drawable d, OutputStream destination,
* @param height Height of the image.
* @throws IOException if writing to stream fails
*/
public void write(Drawable d, OutputStream destination,
double x, double y, double width, double height) throws IOException;
void write(Drawable d, OutputStream destination,
double x, double y, double width, double height) throws IOException;
}
@@ -113,7 +113,7 @@
/**
* Constants which determine the direction of zoom and pan actions.
*/
public static enum XYNavigationDirection implements NavigationDirection {
public enum XYNavigationDirection implements NavigationDirection {
/** Value for zooming and panning horizontally. */
HORIZONTAL(XYPlot.AXIS_X, XYPlot.AXIS_X2),
/** Value for zooming and panning vertically. */
@@ -129,7 +129,7 @@
* same direction.
* @param axesNames Names of the axes that have the same direction.
*/
private XYNavigationDirection(String... axesNames) {
XYNavigationDirection(String... axesNames) {
this.axesNames = axesNames;
}
@@ -43,7 +43,7 @@
* @return component displaying the axis
* @see Axis
*/
public abstract Drawable getRendererComponent(Axis axis);
Drawable getRendererComponent(Axis axis);
/*
* TODO: Enforce minimum and maximum values when extrapolation is turned off
@@ -60,8 +60,8 @@
* on the axis
* @return Screen coordinate value
*/
public abstract double worldToView(Axis axis, Number value,
boolean extrapolate);
double worldToView(Axis axis, Number value,
boolean extrapolate);
/**
* Converts a view (screen) coordinate value to a world (axis) coordinate
@@ -72,15 +72,15 @@ public abstract double worldToView(Axis axis, Number value,
* on the axis
* @return World coordinate value
*/
public abstract Number viewToWorld(Axis axis, double value,
boolean extrapolate);
Number viewToWorld(Axis axis, double value,
boolean extrapolate);
/**
* Returns a list of all tick element on the axis.
* @param axis Axis
* @return A list of {@code Tick} instances
*/
public abstract List<Tick> getTicks(Axis axis);
List<Tick> getTicks(Axis axis);
/**
* Returns the position of the specified value on the axis.
@@ -33,7 +33,7 @@
*/
public class Tick extends DataPoint {
/** Type of tick mark. */
public static enum TickType {
public enum TickType {
/** Major tick mark. */
MAJOR,
/** Minor tick mark. */
@@ -52,7 +52,7 @@
private static final long serialVersionUID = -1344719157074981540L;
/** Type of user feedback. */
public static enum UserAction {
public enum UserAction {
/** User confirmed dialog. */
APPROVE,
/** User canceled or closed dialog. */

0 comments on commit 6898779

Please sign in to comment.