Revision: 1449
          http://stripes.svn.sourceforge.net/stripes/?rev=1449&view=rev
Author:   bengunter
Date:     2011-12-01 21:35:45 +0000 (Thu, 01 Dec 2011)
Log Message:
-----------
Applied fix for STS-837 from 1.5.x branch.

Modified Paths:
--------------
    
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java
===================================================================
--- 
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java
  2011-12-01 21:34:46 UTC (rev 1448)
+++ 
trunk/stripes/src/net/sourceforge/stripes/controller/multipart/DefaultMultipartWrapperFactory.java
  2011-12-01 21:35:45 UTC (rev 1449)
@@ -132,7 +132,7 @@
             else {
                 String digits = matcher.group(1);
                 String suffix = matcher.group(2).toLowerCase();
-                int number = Integer.parseInt(digits);
+                long number = Long.parseLong(digits);
 
                 if ("k".equals(suffix)) { number = number * 1024; }
                 else if ("m".equals(suffix)) {  number = number * 1024 * 1024; 
}

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to