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

@@ -47,7 +47,7 @@ import static org.junit.Assert.*;
public class PetApiTest {
private PetApi api = new PetApi();
private static final Logger LOG = LoggerFactory.getLogger(PetApiTest.class);
private final Logger LOG = LoggerFactory.getLogger(PetApiTest.class);
// In the circle.yml file, /etc/host is configured with an entry to resolve petstore.swagger.io to 127.0.0.1
private static String basePath = "http://petstore.swagger.io:80/v2";