Affected files
ojp-server/src/main/java/org/openjproxy/grpc/server/utils/PropertyPlaceholderResolver.java
ojp-jdbc-driver/src/main/java/org/openjproxy/grpc/client/HealthCheckConfig.java
Both contain:
Java
private static final Logger log = LoggerFactory.getLogger(TheClass.class);
Expected fix
Remove the field and add the @slf4j annotation at the class level, consistent with the rest of the codebase:
Java
@slf4j
public class PropertyPlaceholderResolver {
// no manual logger field needed
}
How to verify
Run mvn checkstyle:check and mvn clean compile — both must pass.
Affected files
ojp-server/src/main/java/org/openjproxy/grpc/server/utils/PropertyPlaceholderResolver.java
ojp-jdbc-driver/src/main/java/org/openjproxy/grpc/client/HealthCheckConfig.java
Both contain:
Java
private static final Logger log = LoggerFactory.getLogger(TheClass.class);
Expected fix
Remove the field and add the @slf4j annotation at the class level, consistent with the rest of the codebase:
Java
@slf4j
public class PropertyPlaceholderResolver {
// no manual logger field needed
}
How to verify
Run mvn checkstyle:check and mvn clean compile — both must pass.