[izpack-changes] izpack-src/src/lib/com/izforge/izpack/gui TwoColumnLayout.java,1.10,1.11
jponge
nobody at sheep.berlios.de
Tue Mar 21 19:14:51 CET 2006
- Previous message: [izpack-changes] izpack-src/src/lib/com/izforge/izpack/event ProgressBarInstallerListener.java,1.4,1.5 RegistryInstallerListener.java,1.6,1.7 SimpleInstallerListener.java,1.5,1.6 SimpleUninstallerListener.java,1.4,1.5
- Next message: [izpack-changes] izpack-src/src/lib/com/izforge/izpack/installer AutomatedInstaller.java,1.14,1.15 CompileWorker.java,1.14,1.15 GUIInstaller.java,1.36,1.37 InstallerBase.java,1.30,1.31 InstallerFrame.java,1.49,1.50 IzPanel.java,1.30,1.31 ProcessPanelWorker.java,1.13,1.14 Unpacker.java,1.50,1.51 WebAccessor.java,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/gui
In directory sheep:/tmp/cvs-serv3622/src/lib/com/izforge/izpack/gui
Modified Files:
TwoColumnLayout.java
Log Message:
Some fixes adviced by IntelliJ IDEA 5.1 code inspector.
Index: TwoColumnLayout.java
===================================================================
RCS file: /cvsroot/izpack/izpack-src/src/lib/com/izforge/izpack/gui/TwoColumnLayout.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- TwoColumnLayout.java 12 Mar 2006 16:32:20 -0000 1.10
+++ TwoColumnLayout.java 21 Mar 2006 18:14:45 -0000 1.11
@@ -426,7 +426,7 @@
positionComponent(y, i, LEFT, parent);
positionComponent((y + offset), i, RIGHT, parent);
- y = y + leftHeight;
+ y += leftHeight;
}
else if (leftHeight < rightHeight)
{
@@ -435,14 +435,14 @@
positionComponent((y + offset), i, LEFT, parent);
positionComponent(y, i, RIGHT, parent);
- y = y + rightHeight;
+ y += rightHeight;
}
else
{
positionComponent(y, i, LEFT, parent);
positionComponent(y, i, RIGHT, parent);
- y = y + leftHeight;
+ y += leftHeight;
}
}
}
@@ -531,8 +531,8 @@
// --------------------------------------------------
if (constraints.indent)
{
- width = width - indent;
- x = x + indent;
+ width -= indent;
+ x += indent;
}
component.setBounds(x, y, width, height);
@@ -566,7 +566,7 @@
if (constraints.indent)
{
- temp = temp + indent;
+ temp += indent;
}
if (temp > width)
@@ -611,7 +611,7 @@
if (constraints.indent)
{
- temp = temp + indent;
+ temp += indent;
}
if (temp > width)
@@ -630,7 +630,7 @@
for (int i = 0; i < rows(); i++)
{
- height = height + rowHeight(i);
+ height += rowHeight(i);
}
return (height);
- Previous message: [izpack-changes] izpack-src/src/lib/com/izforge/izpack/event ProgressBarInstallerListener.java,1.4,1.5 RegistryInstallerListener.java,1.6,1.7 SimpleInstallerListener.java,1.5,1.6 SimpleUninstallerListener.java,1.4,1.5
- Next message: [izpack-changes] izpack-src/src/lib/com/izforge/izpack/installer AutomatedInstaller.java,1.14,1.15 CompileWorker.java,1.14,1.15 GUIInstaller.java,1.36,1.37 InstallerBase.java,1.30,1.31 InstallerFrame.java,1.49,1.50 IzPanel.java,1.30,1.31 ProcessPanelWorker.java,1.13,1.14 Unpacker.java,1.50,1.51 WebAccessor.java,1.7,1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the izpack-changes
mailing list