Skip to content

Commit abbba44

Browse files
Update ServiceAction interface to extend Serializable and add @FunctionalInterface. Closes #44
1 parent 42b296f commit abbba44

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* Latest dependencies
88
* Extract taskmaster-servlet-tools into its own repo java-servlet-tools. Projects using servlet-tools will need to add the new dependency as it is no longer provided by taskmaster-core #47
99
* Extract taskmaster-cache-helper into its own repo java-cache-helper #49
10+
* Update ServiceAction interface to extend Serializable and add @FunctionalInterface #44
1011

1112
## 2.0.0-beta-1
1213

taskmaster-service-helper/src/main/java/com/github/bordertech/taskmaster/service/ServiceAction.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
* @author Jonathan Austin
1111
* @since 1.0.0
1212
*/
13-
public interface ServiceAction<S extends Serializable, T extends Serializable> {
13+
@FunctionalInterface
14+
public interface ServiceAction<S extends Serializable, T extends Serializable> extends Serializable {
1415

1516
/**
1617
* Invoke service call.

0 commit comments

Comments
 (0)