@@ -27,7 +27,6 @@ public class CreateCommand extends Command {
2727 private StorageFilerTO pool ;
2828 private DiskProfile diskCharacteristics ;
2929 private String templateUrl ;
30- private long size ;
3130
3231 protected CreateCommand () {
3332 super ();
@@ -43,7 +42,7 @@ protected CreateCommand() {
4342 * @param pool
4443 */
4544 public CreateCommand (DiskProfile diskCharacteristics , String templateUrl , StorageFilerTO pool ) {
46- this (diskCharacteristics , pool , 0 );
45+ this (diskCharacteristics , pool );
4746 this .templateUrl = templateUrl ;
4847 }
4948
@@ -55,20 +54,19 @@ public CreateCommand(DiskProfile diskCharacteristics, String templateUrl, Storag
5554 * @param diskCharacteristics
5655 * @param pool
5756 */
58- public CreateCommand (DiskProfile diskCharacteristics , StorageFilerTO pool , long size ) {
57+ public CreateCommand (DiskProfile diskCharacteristics , StorageFilerTO pool ) {
5958 this .volId = diskCharacteristics .getVolumeId ();
6059 this .diskCharacteristics = diskCharacteristics ;
6160 this .pool = pool ;
6261 this .templateUrl = null ;
63- this .size = size ;
6462 }
6563
6664 public CreateCommand (DiskProfile diskCharacteristics , String templateUrl , StoragePool pool ) {
6765 this (diskCharacteristics , templateUrl , new StorageFilerTO (pool ));
6866 }
6967
70- public CreateCommand (DiskProfile diskCharacteristics , StoragePool pool , long size ) {
71- this (diskCharacteristics , new StorageFilerTO (pool ), size );
68+ public CreateCommand (DiskProfile diskCharacteristics , StoragePool pool ) {
69+ this (diskCharacteristics , new StorageFilerTO (pool ));
7270 }
7371
7472 @ Override
@@ -92,10 +90,6 @@ public long getVolumeId() {
9290 return volId ;
9391 }
9492
95- public long getSize (){
96- return this .size ;
97- }
98-
9993 @ Deprecated
10094 public String getInstanceName () {
10195 return null ;
0 commit comments