Commit 8c28e1a1 authored by François Grisez's avatar François Grisez

Fix methods declarations

parent cfc15904
......@@ -1263,7 +1263,7 @@ class JavaLangTranslator(CLikeLangTranslator):
return '{0} {1}'.format(arg.type.translate(self, native=native, jni=jni),
def translate_method_as_prototype(self, method, namespace=None):
return 'public interface {returnType} {methodName}({arguments})'.format(
return 'public {returnType} {methodName}({arguments})'.format(
arguments=', '.join([arg.translate(self) for arg in method.args])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment