summaryrefslogtreecommitdiff
path: root/src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java
diff options
context:
space:
mode:
authorErich Schubert <erich@debian.org>2012-12-14 20:45:15 +0100
committerAndrej Shadura <andrewsh@debian.org>2019-03-09 22:30:35 +0000
commit357b2761a2c0ded8cad5e4d3c1e667b7639ff7a6 (patch)
tree3dd8947bb70a67c221adc3cd4359ba1d385e2f3c /src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java
parent4343785ebed9d4145f417d86d581f18a0d31e4ac (diff)
parentb7b404fd7a726774d442562d11659d7b5368cdb9 (diff)
Import Debian changes 0.5.5-1
elki (0.5.5-1) unstable; urgency=low * New upstream release: 0.5.5 interim release.
Diffstat (limited to 'src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java')
-rw-r--r--src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java b/src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java
index 2b86870b..7c3e97e9 100644
--- a/src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java
+++ b/src/de/lmu/ifi/dbs/elki/visualization/svg/SVGPath.java
@@ -40,7 +40,7 @@ public class SVGPath {
/**
* String buffer for building the path.
*/
- private StringBuffer buf = new StringBuffer();
+ private StringBuilder buf = new StringBuilder();
/**
* The last action we did, to not add unnecessary commands
@@ -56,48 +56,48 @@ public class SVGPath {
/**
* The lower case version (relative) line to command.
*/
- public final static String PATH_LINE_TO_RELATIVE = SVGConstants.PATH_LINE_TO.toLowerCase();
+ public static final String PATH_LINE_TO_RELATIVE = SVGConstants.PATH_LINE_TO.toLowerCase();
/**
* The lower case version (relative) move command.
*/
- public final static String PATH_MOVE_RELATIVE = SVGConstants.PATH_MOVE.toLowerCase();
+ public static final String PATH_MOVE_RELATIVE = SVGConstants.PATH_MOVE.toLowerCase();
/**
* The lower case version (relative) horizontal line to command.
*/
- public final static String PATH_HORIZONTAL_LINE_TO_RELATIVE = SVGConstants.PATH_HORIZONTAL_LINE_TO.toLowerCase();
+ public static final String PATH_HORIZONTAL_LINE_TO_RELATIVE = SVGConstants.PATH_HORIZONTAL_LINE_TO.toLowerCase();
/**
* The lower case version (relative) vertical line to command.
*/
- public final static String PATH_VERTICAL_LINE_TO_RELATIVE = SVGConstants.PATH_VERTICAL_LINE_TO.toLowerCase();
+ public static final String PATH_VERTICAL_LINE_TO_RELATIVE = SVGConstants.PATH_VERTICAL_LINE_TO.toLowerCase();
/**
* The lower case version (relative) cubic line to command.
*/
- public final static String PATH_CUBIC_TO_RELATIVE = SVGConstants.PATH_CUBIC_TO.toLowerCase();
+ public static final String PATH_CUBIC_TO_RELATIVE = SVGConstants.PATH_CUBIC_TO.toLowerCase();
/**
* The lower case version (relative) smooth cubic to command.
*/
- public final static String PATH_SMOOTH_CUBIC_TO_RELATIVE = PATH_SMOOTH_CUBIC_TO.toLowerCase();
+ public static final String PATH_SMOOTH_CUBIC_TO_RELATIVE = PATH_SMOOTH_CUBIC_TO.toLowerCase();
/**
* The lower case version (relative) quadratic interpolation to command.
*/
- public final static String PATH_QUAD_TO_RELATIVE = SVGConstants.PATH_QUAD_TO.toLowerCase();
+ public static final String PATH_QUAD_TO_RELATIVE = SVGConstants.PATH_QUAD_TO.toLowerCase();
/**
* The lower case version (relative) smooth quadratic interpolation to
* command.
*/
- public final static String PATH_SMOOTH_QUAD_TO_RELATIVE = SVGConstants.PATH_SMOOTH_QUAD_TO.toLowerCase();
+ public static final String PATH_SMOOTH_QUAD_TO_RELATIVE = SVGConstants.PATH_SMOOTH_QUAD_TO.toLowerCase();
/**
* The lower case version (relative) path arc command.
*/
- public final static String PATH_ARC_RELATIVE = SVGConstants.PATH_ARC.toLowerCase();
+ public static final String PATH_ARC_RELATIVE = SVGConstants.PATH_ARC.toLowerCase();
/**
* Empty path constructor.
@@ -794,7 +794,7 @@ public class SVGPath {
}
for(double d : ds) {
buf.append(SVGUtil.FMT.format(d));
- buf.append(" ");
+ buf.append(' ');
}
}