Skip to content

Commit

Permalink
fix: make DemoHelperViewer serializable
Browse files Browse the repository at this point in the history
Close #86
  • Loading branch information
javier-godoy committed Apr 3, 2024
1 parent daa2cb3 commit 866a819
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@
package com.flowingcode.vaadin.addons.demo;

import com.vaadin.flow.component.Component;
import java.io.Serializable;

/**
* Implementations of this interface can be used to display content rendered by
* {@link DemoHelperRenderer}.
*
*/
public interface DemoHelperViewer {
public interface DemoHelperViewer extends Serializable {

/**
* Shows help content.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
* {@link Dialog}.
*
*/
@SuppressWarnings("serial")
public class DialogDemoHelperViewer implements DemoHelperViewer {

@Override
Expand Down

0 comments on commit 866a819

Please sign in to comment.