Correcting the spelling errors in the Non contigous Vlan range code

This commit is contained in:
Pranav Saxena 2013-04-24 19:58:10 +05:30
parent 2c271e0f1d
commit ff7112a074
4 changed files with 4 additions and 4 deletions

View File

@ -1126,7 +1126,7 @@ public class S3Engine {
SBucketVO sbucket = bucketDao.getByName( bucketName );
if (sbucket == null) {
response.setResultCode(404);
response.setResultDescription("<Code>Bucket dosen't exists</Code><Message>Bucket " + bucketName + " does not exist</Message>");
response.setResultDescription("<Code>Bucket doesn't exists</Code><Message>Bucket " + bucketName + " does not exist</Message>");
return response;
}

View File

@ -725,7 +725,7 @@ public abstract class ExternalFirewallDeviceManagerImpl extends AdapterBase impl
}
}
if (lowestVlanTag == null) {
throw new InvalidParameterValueException ("The vlan tag dose not belong to any of the existing vlan ranges");
throw new InvalidParameterValueException ("The vlan tag does not belong to any of the existing vlan ranges");
}
return vlanTag - lowestVlanTag;
}

View File

@ -2529,7 +2529,7 @@ public class NetworkServiceImpl extends ManagerBase implements NetworkService {
}
if (temp == 0){
throw new InvalidParameterValueException("The vlan range you are trying to delete dose not exist.");
throw new InvalidParameterValueException("The vlan range you are trying to delete does not exist.");
}
if(existingRanges.get(i).first() > existingRanges.get(i).second()){
existingRanges.remove(i);

View File

@ -284,7 +284,7 @@ public abstract class GuestNetworkGuru extends AdapterBase implements NetworkGur
}
}
if (lowestVlanTag == null) {
throw new InvalidParameterValueException ("The vlan tag dose not belong to any of the existing vlan ranges");
throw new InvalidParameterValueException ("The vlan tag does not belong to any of the existing vlan ranges");
}
return vlanTag - lowestVlanTag;
}