Skip to content

Commit 30f7c22

Browse files
committed
fix(typescript-axios): make LOGGER non-static per project ArchUnit rules
The project enforces that Logger fields must not be static to avoid unnecessary memory consumption, since generators are used once per program lifetime (see PR #8799).
1 parent 0acb15c commit 30f7c22

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAxiosClientCodegen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
public class TypeScriptAxiosClientCodegen extends AbstractTypeScriptClientCodegen {
4343

44-
private static final Logger LOGGER = LoggerFactory.getLogger(TypeScriptAxiosClientCodegen.class);
44+
private final Logger LOGGER = LoggerFactory.getLogger(TypeScriptAxiosClientCodegen.class);
4545

4646
public static final String NPM_REPOSITORY = "npmRepository";
4747
public static final String WITH_INTERFACES = "withInterfaces";

0 commit comments

Comments
 (0)