We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b7028df + d121b36 commit b48d73bCopy full SHA for b48d73b
api/src/main/java/io/serverlessworkflow/api/utils/Utils.java
@@ -23,6 +23,8 @@
23
import java.util.stream.Collectors;
24
25
public class Utils {
26
+
27
+ @SuppressWarnings("DefaultCharset")
28
public static String getResourceFileAsString(String fileName) throws IOException {
29
ClassLoader classLoader = ClassLoader.getSystemClassLoader();
30
try (InputStream is = classLoader.getResourceAsStream(fileName)) {
0 commit comments