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.
1 parent dd3c322 commit acda952Copy full SHA for acda952
platform-api/src/main/java/com/flow/platform/api/service/node/YmlServiceImpl.java
@@ -121,7 +121,7 @@ public Resource getResource(Node root) {
121
122
Yml yml = ymlDao.get(root.getPath());
123
String body = yml.getFile();
124
- Resource allResource = null;
+ Resource allResource;
125
try (InputStream is = new ByteArrayInputStream(body.getBytes(AppConfig.DEFAULT_CHARSET))) {
126
allResource = new InputStreamResource(is);
127
} catch (Throwable throwable) {
0 commit comments