bug 12917: spell check.

This commit is contained in:
Naredula Janardhana Reddy 2012-01-06 20:05:42 +05:30
parent 65f84f4321
commit c46591f814
1 changed files with 1 additions and 1 deletions

View File

@ -604,7 +604,7 @@ public class SecurityGroupManagerImpl implements SecurityGroupManager, SecurityG
throw new InvalidParameterValueException("Invalid icmp code");
}
if (icmpType != -1 && icmpCode == -1) {
throw new InvalidParameterValueException("Invalid icmp code: need not negative icmp code ");
throw new InvalidParameterValueException("Invalid icmp code: need non-negative icmp code ");
}
if (icmpCode > 255 || icmpType > 255 || icmpCode < -1 || icmpType < -1) {
throw new InvalidParameterValueException("Invalid icmp type/code ");