Skip to content

Commit

Permalink
Fix: missing regexPatterns() methods in level handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Moresteck committed Oct 4, 2024
1 parent d970e1b commit 01acd77
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import java.io.*;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

Expand Down Expand Up @@ -74,4 +76,10 @@ public static byte[] readStream(InputStream stream) throws IOException {

return buffer.toByteArray();
}

public static List<Pattern> regexPatterns() {
return Arrays.asList(
LEVEL_LOAD_PATTERN
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

import java.io.*;
import java.net.URL;
import java.util.Arrays;
import java.util.List;
import java.util.regex.Pattern;

@SuppressWarnings("all")
Expand Down Expand Up @@ -88,4 +90,10 @@ public InputStream getInputStream() throws IOException {
public OutputStream getOutputStream() throws IOException {
return levelOutput;
}

public static List<Pattern> regexPatterns() {
return Arrays.asList(
LEVEL_SAVE_PATTERN
);
}
}

0 comments on commit 01acd77

Please sign in to comment.