Browse files

Made two more methods private that are not required by the interface

  • Loading branch information...
1 parent a72cba1 commit 8899eafc4d79e32aeb554eeb38bbe172897cb941 @egonw egonw committed with egonw Mar 22, 2012
View
2 src/main/org/openscience/cdk/renderer/generators/MappingGenerator.java
@@ -110,7 +110,7 @@ public IRenderingElement generate(IReaction reaction, RendererModel model) {
* @param model the renderer model
* @return a double in chem-model space
*/
- public double getWidthForMappingLine(RendererModel model) {
+ private double getWidthForMappingLine(RendererModel model) {
double scale = model.getParameter(Scale.class).getValue();
return mappingLineWidth.getValue() / scale;
}
View
2 src/main/org/openscience/cdk/renderer/generators/ReactionPlusGenerator.java
@@ -78,7 +78,7 @@ public IRenderingElement generate(IReaction reaction, RendererModel model) {
return diagram;
}
- public TextElement makePlus(
+ private TextElement makePlus(
Rectangle2D a, Rectangle2D b, double axis, Color color) {
double x = (a.getCenterX() + b.getCenterX()) / 2;
return new TextElement(x, axis, "+", color);

0 comments on commit 8899eaf

Please sign in to comment.