From f5d96801100d60ccd2fec5dd5ba520eb661f44f5 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Mon, 2 Dec 2024 14:48:39 -0500 Subject: [PATCH] fix typo :facepalm: --- java/private/package.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/private/package.bzl b/java/private/package.bzl index 26a35ab7..a7f56abd 100644 --- a/java/private/package.bzl +++ b/java/private/package.bzl @@ -34,7 +34,7 @@ def get_class_name(package, src, prefixes = []): # safe to add the class name. While `get_package_name` does # the right thing, the parameter passed by a user may not # so we shall check once we have `pkg` just to be safe. - pkg = package != None if package else get_package_name(prefixes) + pkg = package if package != None else get_package_name(prefixes) if len(pkg) and not pkg.endswith("."): pkg = pkg + "."