Skip to content

Commit

Permalink
Replaced url to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexDyakonov committed Apr 21, 2023
1 parent 06c4035 commit 7f9b259
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ buildNumber.properties
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
*.log
*.lck
# User-specific stuff
.idea/**/workspace.xml
.idea/**/tasks.xml
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/util/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ public class Message {

static {
try {
updateFile("https://raw.githubusercontent.com/AlexDyakonov/lab-5-num-125595/master/Messages.json", "Messages.json");
Path json = Path.of("Messages.json");
updateFile("https://raw.githubusercontent.com/AlexDyakonov/lab-5-num-125595/issfix/Messages.json", "Messages.json");
content = new String(Files.readAllBytes(json));
jsonObject = new JSONObject(content);
} catch (IOException e) {
Expand Down

0 comments on commit 7f9b259

Please sign in to comment.