From: kruland2607 Date: Thu, 12 Jul 2012 02:46:30 +0000 (+0000) Subject: Comment out a bunch of System.out.printlns. X-Git-Tag: upstream/12.09^2~111 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=944100031be29ff28d246e1d1dee8337eff49593;p=debian%2Fopenrocket Comment out a bunch of System.out.printlns. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@888 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/core/src/net/sf/openrocket/gui/components/StyledLabel.java b/core/src/net/sf/openrocket/gui/components/StyledLabel.java index cad8a25a..70328411 100644 --- a/core/src/net/sf/openrocket/gui/components/StyledLabel.java +++ b/core/src/net/sf/openrocket/gui/components/StyledLabel.java @@ -90,8 +90,8 @@ public class StyledLabel extends JLabel { if (str.startsWith("") && str.indexOf(" left.getRangeLength()) { scale = 1 / scale; } - System.out.println("Rounded scale: " + scale); + //System.out.println("Rounded scale: " + scale); // Scale right axis, enlarge axes if necessary and scale back min2 *= scale; diff --git a/core/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java b/core/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java index d26ea7c2..ada19bfc 100644 --- a/core/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java +++ b/core/src/net/sf/openrocket/gui/plot/SimulationPlotDialog.java @@ -115,7 +115,7 @@ public class SimulationPlotDialog extends JDialog { is = ClassLoader.getSystemResourceAsStream(file); if (is == null) { - System.out.println("ERROR: File " + file + " not found!"); + //System.out.println("ERROR: File " + file + " not found!"); return; } diff --git a/core/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java b/core/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java index 0f08be21..cd5b9490 100644 --- a/core/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java +++ b/core/src/net/sf/openrocket/gui/scalefigure/FinPointFigure.java @@ -235,8 +235,8 @@ public class FinPointFigure extends AbstractScaleFigure { double y0 = p.y / EXTRA_SCALE; double delta = BOX_SIZE / scale; - System.out.println("Point: " + x0 + "," + y0); - System.out.println("delta: " + (BOX_SIZE / scale)); + //System.out.println("Point: " + x0 + "," + y0); + //System.out.println("delta: " + (BOX_SIZE / scale)); Coordinate[] points = finset.getFinPoints(); for (int i = 1; i < points.length; i++) { @@ -249,7 +249,7 @@ public class FinPointFigure extends AbstractScaleFigure { double u = Math.abs((x2 - x1) * (y1 - y0) - (x1 - x0) * (y2 - y1)) / MathUtil.hypot(x2 - x1, y2 - y1); - System.out.println("Distance of segment " + i + " is " + u); + //System.out.println("Distance of segment " + i + " is " + u); if (u < delta) return i; } diff --git a/core/src/net/sf/openrocket/gui/util/GUIUtil.java b/core/src/net/sf/openrocket/gui/util/GUIUtil.java index 2e78d8da..1b19e13e 100644 --- a/core/src/net/sf/openrocket/gui/util/GUIUtil.java +++ b/core/src/net/sf/openrocket/gui/util/GUIUtil.java @@ -356,7 +356,7 @@ public class GUIUtil { for (int row = 0; row < table.getRowCount(); row++) { for (int col = 0; col < columns; col++) { Object value = table.getValueAt(row, col); - System.out.println("row=" + row + " col=" + col + " : " + value); + //System.out.println("row=" + row + " col=" + col + " : " + value); widths[col] = Math.max(widths[col], value == null ? 0 : value.toString().length()); } } diff --git a/core/src/net/sf/openrocket/models/atmosphere/ExtendedISAModel.java b/core/src/net/sf/openrocket/models/atmosphere/ExtendedISAModel.java index 6b7eb2b7..eef78b00 100644 --- a/core/src/net/sf/openrocket/models/atmosphere/ExtendedISAModel.java +++ b/core/src/net/sf/openrocket/models/atmosphere/ExtendedISAModel.java @@ -115,8 +115,7 @@ public class ExtendedISAModel extends InterpolatingAtmosphericModel { AtmosphericConditions diff = new AtmosphericConditions(); diff.setPressure((cond2.getPressure() - cond1.getPressure()) / cond1.getPressure() * 100); diff.setTemperature((cond2.getTemperature() - cond1.getTemperature()) / cond1.getTemperature() * 100); - System.out.println("alt=" + alt + - ": std:" + cond1 + " mod:" + cond2 + " diff:" + diff); + //System.out.println("alt=" + alt + ": std:" + cond1 + " mod:" + cond2 + " diff:" + diff); } } diff --git a/core/src/net/sf/openrocket/rocketcomponent/FreeformFinSet.java b/core/src/net/sf/openrocket/rocketcomponent/FreeformFinSet.java index b0bb0ad7..ac52a0f8 100644 --- a/core/src/net/sf/openrocket/rocketcomponent/FreeformFinSet.java +++ b/core/src/net/sf/openrocket/rocketcomponent/FreeformFinSet.java @@ -258,7 +258,7 @@ public class FreeformFinSet extends FinSet { if (index == 0) { - System.out.println("Set point zero to x:" + x); + //System.out.println("Set point zero to x:" + x); for (int i = 1; i < points.size(); i++) { Coordinate c = points.get(i); points.set(i, c.setX(c.x - x)); diff --git a/core/src/net/sf/openrocket/rocketcomponent/SymmetricComponent.java b/core/src/net/sf/openrocket/rocketcomponent/SymmetricComponent.java index 3c80ba6c..7b455fa8 100644 --- a/core/src/net/sf/openrocket/rocketcomponent/SymmetricComponent.java +++ b/core/src/net/sf/openrocket/rocketcomponent/SymmetricComponent.java @@ -467,7 +467,7 @@ public abstract class SymmetricComponent extends BodyComponent implements Radial final double l = length / DIVISIONS; r1 = getRadius(0); - System.out.println(r1); + //System.out.println(r1); x = 0; longitudinalInertia = 0;