@@ -144,7 +144,7 @@ public static enum StoragePoolType {
144144 LVM (false , false , false ), // XenServer local LVM SR
145145 CLVM (true , false , false ),
146146 RBD (true , true , false ), // http://libvirt.org/storage.html#StorageBackendRBD
147- SharedMountPoint (true , false , true ),
147+ SharedMountPoint (true , true , true ),
148148 VMFS (true , true , false ), // VMware VMFS storage
149149 PreSetup (true , true , false ), // for XenServer, Storage Pool is set up by customers.
150150 EXT (false , true , false ), // XenServer local EXT SR
@@ -159,12 +159,12 @@ public static enum StoragePoolType {
159159 FiberChannel (true , true , false ); // Fiber Channel Pool for KVM hypervisors is used to find the volume by WWN value (/dev/disk/by-id/wwn-<wwnvalue>)
160160
161161 private final boolean shared ;
162- private final boolean overprovisioning ;
162+ private final boolean overProvisioning ;
163163 private final boolean encryption ;
164164
165- StoragePoolType (boolean shared , boolean overprovisioning , boolean encryption ) {
165+ StoragePoolType (boolean shared , boolean overProvisioning , boolean encryption ) {
166166 this .shared = shared ;
167- this .overprovisioning = overprovisioning ;
167+ this .overProvisioning = overProvisioning ;
168168 this .encryption = encryption ;
169169 }
170170
@@ -173,14 +173,16 @@ public boolean isShared() {
173173 }
174174
175175 public boolean supportsOverProvisioning () {
176- return overprovisioning ;
176+ return overProvisioning ;
177177 }
178178
179- public boolean supportsEncryption () { return encryption ; }
179+ public boolean supportsEncryption () {
180+ return encryption ;
181+ }
180182 }
181183
182184 public static List <StoragePoolType > getNonSharedStoragePoolTypes () {
183- List <StoragePoolType > nonSharedStoragePoolTypes = new ArrayList <StoragePoolType >();
185+ List <StoragePoolType > nonSharedStoragePoolTypes = new ArrayList <>();
184186 for (StoragePoolType storagePoolType : StoragePoolType .values ()) {
185187 if (!storagePoolType .isShared ()) {
186188 nonSharedStoragePoolTypes .add (storagePoolType );
0 commit comments