mirror of https://github.com/apache/cloudstack.git
Fix findbugs DM_BOXED_PRIMITIVE_FOR_PARSING warning in ElastistorUtil.java
Signed-off-by: Daan Hoogland <daan.hoogland@gmail.com> This closes #504
This commit is contained in:
parent
0d8c64ea56
commit
a17852aaf4
|
|
@ -2491,7 +2491,7 @@ public class ElastistorUtil {
|
|||
String quotasize = null;
|
||||
|
||||
if(size > 1024){
|
||||
quotasize = (String.valueOf(Long.valueOf(capacityBytes)/(1024)) + "T");
|
||||
quotasize = (String.valueOf(Long.parseLong(capacityBytes)/(1024)) + "T");
|
||||
}else{
|
||||
quotasize = String.valueOf(quotasize) + "G";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue