commit | 4c865b72b320a46f326a335cfd326b66b0e10f67 | [log] [tgz] |
---|---|---|
author | Andreas Huber <andih@google.com> | Wed Sep 14 15:26:27 2016 -0700 |
committer | Andreas Huber <andih@google.com> | Thu Sep 15 09:28:59 2016 -0700 |
tree | 6707fb83825317c16e65c75b31c64f8189dadbc5 | |
parent | a3558b3b273695b31fbe1025339956966cde39c4 [diff] [blame] |
[Java hidl-gen] Fix multi-dimensional arrays (used within structures, not as method arguments). Bug: 31438033 Change-Id: I8e29ae8eca2a9ef8a320e37ca0bb79dcfa8a9b9a
diff --git a/Method.cpp b/Method.cpp index c051a77..7d7717a 100644 --- a/Method.cpp +++ b/Method.cpp
@@ -123,10 +123,10 @@ } std::string extra; - out += arg->type().getJavaType(); + out += arg->type().getJavaType(&extra); + out += extra; out += " "; out += arg->name(); - out += extra; first = false; }