[izpack-changes] r1897 - izpack-src/trunk/src/lib/com/izforge/izpack/panels

noreply at berlios.de noreply at berlios.de
Wed Nov 14 11:32:18 CET 2007


Author: dreil
Date: 2007-11-14 11:32:15 +0100 (Wed, 14 Nov 2007)
New Revision: 1897

Modified:
   izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java
   izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelBase.java
   izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelInterface.java
Log:
Fixed wrong required size

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java	2007-11-12 09:02:00 UTC (rev 1896)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksModel.java	2007-11-14 10:32:15 UTC (rev 1897)
@@ -489,7 +489,7 @@
 
     private void updateBytes()
     {
-        int bytes = 0;
+        long bytes = 0;
         for (int q = 0; q < packs.size(); q++)
         {
             if (Math.abs(checkValues[q]) == 1)

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelBase.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelBase.java	2007-11-12 09:02:00 UTC (rev 1896)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelBase.java	2007-11-14 10:32:15 UTC (rev 1897)
@@ -196,9 +196,9 @@
      * 
      * @see com.izforge.izpack.panels.PacksPanelInterface#getBytes()
      */
-    public int getBytes()
+    public long getBytes()
     {
-        return (int) (bytes);
+        return bytes;
     }
 
     /*
@@ -206,7 +206,7 @@
      * 
      * @see com.izforge.izpack.panels.PacksPanelInterface#setBytes(int)
      */
-    public void setBytes(int bytes)
+    public void setBytes(long bytes)
     {
         this.bytes = bytes;
     }

Modified: izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelInterface.java
===================================================================
--- izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelInterface.java	2007-11-12 09:02:00 UTC (rev 1896)
+++ izpack-src/trunk/src/lib/com/izforge/izpack/panels/PacksPanelInterface.java	2007-11-14 10:32:15 UTC (rev 1897)
@@ -41,9 +41,9 @@
 
     public LocaleDatabase getLangpack();
 
-    public int getBytes();
+    public long getBytes();
 
-    public void setBytes(int bytes);
+    public void setBytes(long bytes);
 
     public void showSpaceRequired();
 



More information about the izpack-changes mailing list