[aquamar] refactor c array notation to java array notation