From ac104231b5657601ded5e9a87f5b252fbe6d7669 Mon Sep 17 00:00:00 2001 From: Pierre Millot Date: Mon, 13 Feb 2023 11:48:57 +0100 Subject: [PATCH] eq --- .../main/java/com/algolia/codegen/AlgoliaJavaGenerator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java b/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java index 333b614dc1..2f67990b86 100644 --- a/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java +++ b/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java @@ -133,13 +133,13 @@ public String toEnumVarName(String value, String datatype) { case ">": return "GT"; case "=": - return "EQUAL"; + return "EQ"; case "<=": return "LTE"; case ">=": return "GTE"; case "!=": - return "NOTEQUAL"; + return "NEQ"; } if (!value.matches("[A-Z0-9_]+")) {