Make all loggers non-static (#8799)

* Make all loggers non-static

Reduces memory usage on startup by between 2 and 4 MB

* Fix compile error in some autogenerated? module
This commit is contained in:
agilob
2021-02-23 06:46:56 +00:00
committed by GitHub
parent eb3d6d2f16
commit e7f50f66a3
125 changed files with 126 additions and 126 deletions

View File

@@ -73,7 +73,7 @@ import com.google.common.io.Files;
@Mojo(name = "generate", defaultPhase = LifecyclePhase.GENERATE_SOURCES, threadSafe = true)
public class CodeGenMojo extends AbstractMojo {
private static final Logger LOGGER = LoggerFactory.getLogger(CodeGenMojo.class);
private final Logger LOGGER = LoggerFactory.getLogger(CodeGenMojo.class);
/**
* The build context is only avail when running from within eclipse.