Skip to content

Commit

Permalink
Make MessageBean serializable (#242)
Browse files Browse the repository at this point in the history
Fixes #241
  • Loading branch information
Denis committed Oct 15, 2019
1 parent cb0ded9 commit 2f4e32e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
package com.vaadin.starter.skeleton.spring;

import java.io.Serializable;
import java.time.LocalTime;

import org.springframework.stereotype.Service;

@Service
public class MessageBean {
public class MessageBean implements Serializable {

public String getMessage() {
return "Button was clicked at " + LocalTime.now();
Expand Down

0 comments on commit 2f4e32e

Please sign in to comment.