From ed4a8611a8217a08306882be835a2d43c8518b38 Mon Sep 17 00:00:00 2001 From: Danilo Del Busso Date: Mon, 5 Aug 2024 14:25:11 +0100 Subject: [PATCH] Apply changes added in eb34314f0c946fe2ae6dc63cb8079f2b473c8c90 After the rebase the change regressed Signed-off-by: Danilo Del Busso --- ocaml/sdk-gen/java/templates/Types.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocaml/sdk-gen/java/templates/Types.mustache b/ocaml/sdk-gen/java/templates/Types.mustache index 1af54721669..6c56406301a 100644 --- a/ocaml/sdk-gen/java/templates/Types.mustache +++ b/ocaml/sdk-gen/java/templates/Types.mustache @@ -147,7 +147,7 @@ public class Types if (this == UNRECOGNIZED) return "UNRECOGNIZED";{{#values}} if (this == {{{name_uppercase}}}) return "{{{name}}}";{{/values}} /* This can never be reached */ - return "illegal enum"; + return "UNRECOGNIZED"; } }