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/Interface.cpp b/Interface.cpp index 66abf8b..10f6505 100644 --- a/Interface.cpp +++ b/Interface.cpp
@@ -82,7 +82,9 @@ } } -std::string Interface::getJavaType() const { +std::string Interface::getJavaType( + std::string *extra, bool /* forInitializer */) const { + extra->clear(); return fullJavaName(); }