diff --git a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/components/wizard/step/WizardStep.java b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/components/wizard/step/WizardStep.java index 0460cea..5f0e5f2 100644 --- a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/components/wizard/step/WizardStep.java +++ b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/components/wizard/step/WizardStep.java @@ -32,7 +32,7 @@ default void onEnterStep(final S state) /** * Called when next is clicked and the current step is exited * @param state The current state - * @return false when the exit can't happen due to e.g. validation problems. Otherwise true. + * @return false when the exit can't happen due to e.g. validation problems. */ default boolean onProgress(final S state) { diff --git a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/JasperGridReportStyles.java b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/JasperGridReportStyles.java index 5e966fc..981d498 100644 --- a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/JasperGridReportStyles.java +++ b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/JasperGridReportStyles.java @@ -46,6 +46,7 @@ class Default implements JasperGridReportStyles protected final StyleBuilder columnStyle = Styles.style(this.defaultStyle) .setBorder(Styles.pen1Point()); + @SuppressWarnings("checkstyle:MagicNumber") protected final SimpleStyleBuilder columnStyleHighlighted = Styles.simpleStyle() .setPadding(2) .setBackgroundColor(new Color(222, 222, 222)) // Extra light gray so that the data remains readable diff --git a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportFormat.java b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportFormat.java index 6fac644..a155562 100644 --- a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportFormat.java +++ b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportFormat.java @@ -48,8 +48,8 @@ import software.xdev.vaadin.grid_exporter.jasper.config.title.TitleConfig; -public abstract class AbstractJasperReportFormat - > +public abstract class AbstractJasperReportFormat> extends AbstractFormat { protected final JasperGridReportStyles jasperGridReportStyles = new JasperGridReportStyles.Default(); diff --git a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportSpreadsheetFormat.java b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportSpreadsheetFormat.java index ab73ab0..5dcdf43 100644 --- a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportSpreadsheetFormat.java +++ b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportSpreadsheetFormat.java @@ -25,8 +25,8 @@ import software.xdev.vaadin.grid_exporter.jasper.config.highlight.HighlightConfigComponent; -public abstract class AbstractJasperReportSpreadsheetFormat - > +public abstract class AbstractJasperReportSpreadsheetFormat> extends AbstractJasperReportFormat { protected AbstractJasperReportSpreadsheetFormat( diff --git a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportWordProcessingFormat.java b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportWordProcessingFormat.java index 4a60efb..ef770a3 100644 --- a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportWordProcessingFormat.java +++ b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/jasper/format/AbstractJasperReportWordProcessingFormat.java @@ -27,8 +27,8 @@ import software.xdev.vaadin.grid_exporter.jasper.config.title.TitleConfigComponent; -public abstract class AbstractJasperReportWordProcessingFormat - > +public abstract class AbstractJasperReportWordProcessingFormat> extends AbstractJasperReportFormat { protected AbstractJasperReportWordProcessingFormat( diff --git a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/wizard/steps/FormatStep.java b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/wizard/steps/FormatStep.java index 37e31f1..c89dcd6 100644 --- a/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/wizard/steps/FormatStep.java +++ b/vaadin-grid-exporter/src/main/java/software/xdev/vaadin/grid_exporter/wizard/steps/FormatStep.java @@ -115,7 +115,9 @@ protected void showConfigComponentsFor(final Format format) } @SuppressWarnings({"unchecked", "rawtypes"}) - protected void bindConfigComponents(final GridExporterWizardState state, final boolean deleteNonMatchingFromState) + protected void bindConfigComponents( + final GridExporterWizardState state, + final boolean deleteNonMatchingFromState) { for(final SpecificConfigComponent component : this.configComponents) {