Skip to content

Commit

Permalink
feat: add command class utility (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigboxer23 committed Mar 19, 2024
1 parent 92bda1a commit b4c571c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.bigboxer23</groupId>
<artifactId>utils</artifactId>
<version>2.0.22</version>
<version>2.0.23</version>

<name>utils</name>
<!-- FIXME change it to the project's website -->
Expand Down
9 changes: 9 additions & 0 deletions src/main/java/com/bigboxer23/utils/command/Command.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.bigboxer23.utils.command;

import java.io.IOException;

/** */
@FunctionalInterface
public interface Command<T> {
T execute() throws IOException;
}

0 comments on commit b4c571c

Please sign in to comment.