From 4193031c622d6b1ad47774c3ae00c91d00007f9e Mon Sep 17 00:00:00 2001 From: Andrew Gaul Date: Mon, 31 Oct 2016 22:35:29 -0700 Subject: [PATCH] Fix mixed array dimensions Found via error-prone. --- .../org/jclouds/aws/ec2/xml/DescribeVPCsResponseHandler.java | 2 +- .../main/java/org/jclouds/aws/ec2/xml/ReturnValueHandler.java | 2 +- .../src/main/java/org/jclouds/aws/ec2/xml/VPCHandler.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/DescribeVPCsResponseHandler.java b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/DescribeVPCsResponseHandler.java index 095f3e0084..51d5e047b4 100644 --- a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/DescribeVPCsResponseHandler.java +++ b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/DescribeVPCsResponseHandler.java @@ -78,7 +78,7 @@ public class DescribeVPCsResponseHandler extends } @Override - public void characters(char ch[], int start, int length) { + public void characters(char[] ch, int start, int length) { if (inVpcSet) { vpcHandler.characters(ch, start, length); } else { diff --git a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/ReturnValueHandler.java b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/ReturnValueHandler.java index 9fd6ef6f3d..fc5d924fbd 100644 --- a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/ReturnValueHandler.java +++ b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/ReturnValueHandler.java @@ -34,7 +34,7 @@ public class ReturnValueHandler extends ParseSax.HandlerWithResult { 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); } } diff --git a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/VPCHandler.java b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/VPCHandler.java index 2830d373c4..6eb3d344dc 100644 --- a/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/VPCHandler.java +++ b/providers/aws-ec2/src/main/java/org/jclouds/aws/ec2/xml/VPCHandler.java @@ -83,7 +83,7 @@ public class VPCHandler extends ParseSax.HandlerForGeneratedRequestWithResult