diff options
author | syeyoung <cyong06@naver.com> | 2021-05-04 12:56:06 +0900 |
---|---|---|
committer | syeyoung <cyong06@naver.com> | 2021-05-04 12:56:06 +0900 |
commit | caf765b632ce859861bce5e2018a31a93ce7695c (patch) | |
tree | 781fec817460d503caf2baca10ada5d9d0fd1c6c /src/main/java/kr/syeyoung/dungeonsguide/utils | |
parent | a7931f2650fc4acde0dfb5a573730ae8d3a98691 (diff) | |
download | Skyblock-Dungeons-Guide-caf765b632ce859861bce5e2018a31a93ce7695c.tar.gz Skyblock-Dungeons-Guide-caf765b632ce859861bce5e2018a31a93ce7695c.tar.bz2 Skyblock-Dungeons-Guide-caf765b632ce859861bce5e2018a31a93ce7695c.zip |
move domain
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/utils')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java b/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java index 4164fd4a..6bc57c2a 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/utils/AhUtils.java @@ -46,23 +46,7 @@ public class AhUtils { public void run() { try { AhUtils.loadAuctions(); - } catch (CertificateException e) { - e.printStackTrace(); - } catch (NoSuchAlgorithmException e) { - e.printStackTrace(); - } catch (InvalidKeyException e) { - e.printStackTrace(); - } catch (InvalidAlgorithmParameterException e) { - e.printStackTrace(); - } catch (NoSuchPaddingException e) { - e.printStackTrace(); - } catch (BadPaddingException e) { - e.printStackTrace(); - } catch (KeyStoreException e) { - e.printStackTrace(); - } catch (IllegalBlockSizeException e) { - e.printStackTrace(); - } catch (KeyManagementException e) { + } catch (CertificateException | NoSuchAlgorithmException | InvalidKeyException | InvalidAlgorithmParameterException | NoSuchPaddingException | BadPaddingException | KeyStoreException | IllegalBlockSizeException | KeyManagementException e) { e.printStackTrace(); } } @@ -73,7 +57,7 @@ public class AhUtils { try { Map<String, AuctionData> semi_auctions = new HashMap<String, AuctionData>(); - JsonElement object = e.getDungeonsGuide().getAuthenticator().d("https://dungeonsguide.kro.kr/resource/keys"); + JsonElement object = e.getDungeonsGuide().getAuthenticator().d("https://dungeons.guide/resource/keys"); for (JsonElement element : object.getAsJsonArray()) { JsonObject object1 = element.getAsJsonObject(); AuctionData auctionData = new AuctionData(object1.get("id").getAsString()); |