From 3daa3b29e669132dc928ccaf2160c40ae0d3c60a Mon Sep 17 00:00:00 2001 From: Jing Ping Date: Fri, 20 Sep 2019 16:27:14 -0700 Subject: [PATCH] Remove null from enum class Summary: https://github.com/facebook/facebook-java-business-sdk/issues/235 Looks like we don't need `NULL` for enum class Reviewed By: joesus Differential Revision: D17242244 fbshipit-source-id: 33c2cc4c --- .../java/src/main/java/com/facebook/ads/sdk/codegen.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/java/src/main/java/com/facebook/ads/sdk/codegen.mustache b/templates/java/src/main/java/com/facebook/ads/sdk/codegen.mustache index 62797ef0..a5d4f012 100644 --- a/templates/java/src/main/java/com/facebook/ads/sdk/codegen.mustache +++ b/templates/java/src/main/java/com/facebook/ads/sdk/codegen.mustache @@ -626,7 +626,7 @@ public class {{name:pascal_case}} extends APINode { @SerializedName("{{{value}}}") VALUE_{{{value:upper_case}}}("{{{value}}}"), {{/values_with_naming_convention}} - NULL(null); + ; private String value;