Fix mixed array dimensions

Found via error-prone.
This commit is contained in:
Andrew Gaul 2016-10-31 22:35:29 -07:00
parent 7767acbec9
commit 4193031c62
3 changed files with 3 additions and 3 deletions

View File

@ -78,7 +78,7 @@ public class DescribeVPCsResponseHandler extends
} }
@Override @Override
public void characters(char ch[], int start, int length) { public void characters(char[] ch, int start, int length) {
if (inVpcSet) { if (inVpcSet) {
vpcHandler.characters(ch, start, length); vpcHandler.characters(ch, start, length);
} else { } else {

View File

@ -34,7 +34,7 @@ public class ReturnValueHandler extends ParseSax.HandlerWithResult<Boolean> {
currentText.setLength(0); currentText.setLength(0);
} }
public void characters(char ch[], int start, int length) { public void characters(char[] ch, int start, int length) {
currentText.append(ch, start, length); currentText.append(ch, start, length);
} }
} }

View File

@ -83,7 +83,7 @@ public class VPCHandler extends ParseSax.HandlerForGeneratedRequestWithResult<VP
} }
@Override @Override
public void characters(char ch[], int start, int length) { public void characters(char[] ch, int start, int length) {
if (inTagSet) { if (inTagSet) {
tagSetHandler.characters(ch, start, length); tagSetHandler.characters(ch, start, length);
} else { } else {