From b410ce4d49e0f302a7523df0ef5f3d0801546f68 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Mon, 2 Jan 2023 00:23:23 +0000 Subject: [PATCH] [Java] Use util method where possible --- java_strings.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java_strings.py b/java_strings.py index c6905d13..fcf9edd2 100644 --- a/java_strings.py +++ b/java_strings.py @@ -1318,9 +1318,7 @@ import javax.annotation.Nullable; else: if arg.nullable: out_java_struct += "@Nullable " - ty_string = arg.java_hu_ty - if arg.java_fn_ty_arg[0] == "L" and arg.java_fn_ty_arg[len(arg.java_fn_ty_arg) - 1] == ";": - ty_string = arg.java_fn_ty_arg.strip("L;").replace("/", ".") + ty_string = self.fully_qualified_hu_ty_path(arg) out_java_struct += ty_string + " " + arg.arg_name out_java += (");\n") out_c += (") {\n") -- 2.39.5