mirror of
https://github.com/apache/cloudstack
synced 2026-08-02 13:35:41 +00: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…
Reference in New Issue
Block a user