Skip to content

Commit 9132c9a

Browse files
committed
final fox
1 parent 7d2e4a3 commit 9132c9a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/java/hexlet/code/Parser.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
public class Parser {
1616

17-
// Используется в тестах (ищет в resources/fixtures)
1817
public static Map<String, Object> parseFromResources(String fileName) throws IOException {
1918
ObjectMapper objectMapper;
2019

@@ -37,7 +36,7 @@ public static Map<String, Object> parseFromResources(String fileName) throws IOE
3736
return objectMapper.readValue(path.toFile(), new TypeReference<Map<String, Object>>() { });
3837
}
3938

40-
// Используется из CLI — напрямую с файловой системы
39+
4140
public static Map<String, Object> parse(String filePath) throws IOException {
4241
ObjectMapper objectMapper;
4342

0 commit comments

Comments
 (0)