Skip to content

Commit

Permalink
Remove onConstructor annotation in lombok (fails javadoc generation)
Browse files Browse the repository at this point in the history
As it's not really important
  • Loading branch information
sebastienvermeille committed Aug 27, 2024
1 parent 9872d5c commit 75484e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@

import static lombok.AccessLevel.*;

import com.google.common.annotations.VisibleForTesting;
import java.io.IOException;
import java.util.Set;
import javax.annotation.processing.*;
Expand All @@ -47,12 +46,8 @@
* @see dev.cookiecode.stylesniffer.api.CaseStyle
*/
@NoArgsConstructor(access = PUBLIC)
@AllArgsConstructor(
access = PACKAGE,
onConstructor_ = {@VisibleForTesting})
@Getter(
value = PACKAGE,
onMethod_ = {@VisibleForTesting})
@AllArgsConstructor(access = PACKAGE)
@Getter(value = PACKAGE)
@SupportedAnnotationTypes("dev.cookiecode.stylesniffer.annotation.RegisterCaseStyle")
@SupportedSourceVersion(SourceVersion.RELEASE_21)
@Flogger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
* @author Sebastien Vermeille
* @see org.thymeleaf.context.Context
*/
@RequiredArgsConstructor(onConstructor_ = {@VisibleForTesting})
@RequiredArgsConstructor()
public class TemplateRenderer {

static final String TEMPLATE_FILE_NAME = "case_style_injector";
Expand Down

0 comments on commit 75484e8

Please sign in to comment.