From 7f9b2599d2d1ca4b66ece35c649d1c9cae477d27 Mon Sep 17 00:00:00 2001 From: Alex_D Date: Fri, 21 Apr 2023 20:22:36 +0300 Subject: [PATCH] Replaced url to master branch --- .gitignore | 1 + src/main/java/util/Message.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 96be48d..1de1eb5 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/src/main/java/util/Message.java b/src/main/java/util/Message.java index 780ee2e..1e678b9 100644 --- a/src/main/java/util/Message.java +++ b/src/main/java/util/Message.java @@ -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) {