Skip to content

Commit

Permalink
Fix some issues
Browse files Browse the repository at this point in the history
Add some methods
Added new tool: CryptocurrencyTool
  • Loading branch information
N7ghtm4r3 committed Jun 9, 2022
1 parent 218edd7 commit 5488dc8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ public CryptocurrencyTool() throws IOException {
* @return map loaded as {@link String}
* **/
private String loadCoinsMap() throws IOException {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(getClass().getClassLoader().getResourceAsStream("coins.json")));
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(getClass()
.getClassLoader().getResourceAsStream("coins.json")));
StringBuilder stringBuilder = new StringBuilder();
String line;
while ((line = bufferedReader.readLine()) != null)
Expand Down

0 comments on commit 5488dc8

Please sign in to comment.