Skip to content

Two classes use a manual Logger declaration instead of the Lombok @Slf4j annotation used everywhere else in the project. #471

@rrobetti

Description

@rrobetti

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions