Skip to content

Commit

Permalink
Makes AnnotationParser package-private to allow
Browse files Browse the repository at this point in the history
its utilization only inside the package
and avoid the spotbugs EI_EXPOSE_REP2 issue about the parser parameter.

Signed-off-by: Manoel Campos <[email protected]>
  • Loading branch information
manoelcampos committed Jan 31, 2025
1 parent 02c19c0 commit db83e86
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
/**
* @author Manoel Campos
*/
public class AnnotationParser {
class AnnotationParser {
// For some odd reason, the spotless plugin is crazily joining multiple lines on this file. Formatting was disabled.
// @formatter:off
private final static Logger LOGGER = Logger.getLogger(AnnotationParser.class.getName());

private final Parser parser;
private final ObjectFactory objectFactory;

public AnnotationParser(final Parser parser) {
AnnotationParser(final Parser parser) {
this.parser = parser;
this.objectFactory = parser.objectFactory;
}
Expand Down

0 comments on commit db83e86

Please sign in to comment.