Skip to content

Commit acda952

Browse files
committed
delete no use code
1 parent dd3c322 commit acda952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform-api/src/main/java/com/flow/platform/api/service/node/YmlServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public Resource getResource(Node root) {
121121

122122
Yml yml = ymlDao.get(root.getPath());
123123
String body = yml.getFile();
124-
Resource allResource = null;
124+
Resource allResource;
125125
try (InputStream is = new ByteArrayInputStream(body.getBytes(AppConfig.DEFAULT_CHARSET))) {
126126
allResource = new InputStreamResource(is);
127127
} catch (Throwable throwable) {

0 commit comments

Comments
 (0)