Skip to content

Commit

Permalink
TAP5-2563: make EmptyEventContext serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagohp committed Oct 27, 2024
1 parent f280e4f commit 7ffdf2e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

package org.apache.tapestry5.internal;

import java.io.Serializable;
import java.util.Optional;

import org.apache.tapestry5.EventContext;
Expand All @@ -22,8 +23,10 @@
/**
* Placeholder used when no context is available.
*/
public class EmptyEventContext implements EventContext
public class EmptyEventContext implements EventContext, Serializable
{
private static final long serialVersionUID = 1L;

/**
* Always returns zero.
*/
Expand Down

0 comments on commit 7ffdf2e

Please sign in to comment.