summaryrefslogtreecommitdiff
path: root/src/idl_gen_java.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/idl_gen_java.cpp')
-rw-r--r--src/idl_gen_java.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/idl_gen_java.cpp b/src/idl_gen_java.cpp
index 34895ee9..b7c9d564 100644
--- a/src/idl_gen_java.cpp
+++ b/src/idl_gen_java.cpp
@@ -2196,7 +2196,7 @@ class JavaGenerator : public BaseGenerator {
};
} // namespace java
-bool GenerateJava(const Parser &parser, const std::string &path,
+static bool GenerateJava(const Parser &parser, const std::string &path,
const std::string &file_name) {
java::JavaGenerator generator(parser, path, file_name,
parser.opts.java_package_prefix);
@@ -2222,7 +2222,7 @@ class JavaCodeGenerator : public CodeGenerator {
Status GenerateMakeRule(const Parser &parser, const std::string &path,
const std::string &filename,
std::string &output) override {
- output = JavaMakeRule(parser, path, filename);
+ output = JavaCSharpMakeRule(true, parser, path, filename);
return Status::OK;
}