mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
NPE guard (#7691)
This commit is contained in:
parent
0cbe77024a
commit
acc6f4e725
@ -277,7 +277,7 @@ public class TemplateDataStoreVO implements StateObject<ObjectInDataStoreStateMa
|
||||
}
|
||||
|
||||
public long getSize() {
|
||||
return size;
|
||||
return size == null ? 0l : size.longValue();
|
||||
}
|
||||
|
||||
public void setPhysicalSize(long physicalSize) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user