@@ -138,7 +138,7 @@ public static enum StoragePoolType {
138138 LVM (false , false , false ), // XenServer local LVM SR
139139 CLVM (true , false , false ),
140140 RBD (true , true , false ), // http://libvirt.org/storage.html#StorageBackendRBD
141- SharedMountPoint (true , false , true ),
141+ SharedMountPoint (true , true , true ),
142142 VMFS (true , true , false ), // VMware VMFS storage
143143 PreSetup (true , true , false ), // for XenServer, Storage Pool is set up by customers.
144144 EXT (false , true , false ), // XenServer local EXT SR
@@ -152,12 +152,12 @@ public static enum StoragePoolType {
152152 StorPool (true , true , true );
153153
154154 private final boolean shared ;
155- private final boolean overprovisioning ;
155+ private final boolean overProvisioning ;
156156 private final boolean encryption ;
157157
158- StoragePoolType (boolean shared , boolean overprovisioning , boolean encryption ) {
158+ StoragePoolType (boolean shared , boolean overProvisioning , boolean encryption ) {
159159 this .shared = shared ;
160- this .overprovisioning = overprovisioning ;
160+ this .overProvisioning = overProvisioning ;
161161 this .encryption = encryption ;
162162 }
163163
@@ -166,14 +166,16 @@ public boolean isShared() {
166166 }
167167
168168 public boolean supportsOverProvisioning () {
169- return overprovisioning ;
169+ return overProvisioning ;
170170 }
171171
172- public boolean supportsEncryption () { return encryption ; }
172+ public boolean supportsEncryption () {
173+ return encryption ;
174+ }
173175 }
174176
175177 public static List <StoragePoolType > getNonSharedStoragePoolTypes () {
176- List <StoragePoolType > nonSharedStoragePoolTypes = new ArrayList <StoragePoolType >();
178+ List <StoragePoolType > nonSharedStoragePoolTypes = new ArrayList <>();
177179 for (StoragePoolType storagePoolType : StoragePoolType .values ()) {
178180 if (!storagePoolType .isShared ()) {
179181 nonSharedStoragePoolTypes .add (storagePoolType );
0 commit comments