Skip to content

Commit

Permalink
Fix checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
AB-xdev committed Jan 11, 2024
1 parent bc64b66 commit 07bcc82
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code>false</code> when the exit can't happen due to e.g. validation problems. Otherwise <code>true</code>.
* @return <code>false</code> when the exit can't happen due to e.g. validation problems.
*/
default boolean onProgress(final S state)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
import software.xdev.vaadin.grid_exporter.jasper.config.title.TitleConfig;


public abstract class AbstractJasperReportFormat
<B extends AbstractJasperExporterBuilder<B, ? extends AbstractJasperExporter>>
public abstract class AbstractJasperReportFormat<B extends AbstractJasperExporterBuilder<B,
? extends AbstractJasperExporter>>
extends AbstractFormat
{
protected final JasperGridReportStyles jasperGridReportStyles = new JasperGridReportStyles.Default();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
import software.xdev.vaadin.grid_exporter.jasper.config.highlight.HighlightConfigComponent;


public abstract class AbstractJasperReportSpreadsheetFormat
<B extends AbstractJasperExporterBuilder<B, ? extends AbstractJasperExporter>>
public abstract class AbstractJasperReportSpreadsheetFormat<B extends AbstractJasperExporterBuilder<B,
? extends AbstractJasperExporter>>
extends AbstractJasperReportFormat<B>
{
protected AbstractJasperReportSpreadsheetFormat(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
import software.xdev.vaadin.grid_exporter.jasper.config.title.TitleConfigComponent;


public abstract class AbstractJasperReportWordProcessingFormat
<B extends AbstractJasperExporterBuilder<B, ? extends AbstractJasperExporter>>
public abstract class AbstractJasperReportWordProcessingFormat<B extends AbstractJasperExporterBuilder<B,
? extends AbstractJasperExporter>>
extends AbstractJasperReportFormat<B>
{
protected AbstractJasperReportWordProcessingFormat(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ protected void showConfigComponentsFor(final Format format)
}

@SuppressWarnings({"unchecked", "rawtypes"})
protected void bindConfigComponents(final GridExporterWizardState<T> state, final boolean deleteNonMatchingFromState)
protected void bindConfigComponents(
final GridExporterWizardState<T> state,
final boolean deleteNonMatchingFromState)
{
for(final SpecificConfigComponent<?> component : this.configComponents)
{
Expand Down

0 comments on commit 07bcc82

Please sign in to comment.