Skip to content

Commit 9679c5c

Browse files
committed
Replace outdated tracker url
1 parent 5aaa3ac commit 9679c5c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/main/java/club/bytecode/the/jda/JDA.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class JDA {
3737
/*per version*/
3838
public static final String version = "1.1.0";
3939
/* Constants */
40+
public static final String ISSUE_TRACKER_URL = "https://github.com/LLVM-but-worse/jda/issues";
4041
public static final String fs = System.getProperty("file.separator");
4142
public static final String nl = System.getProperty("line.separator");
4243
public static final File dataDir = new File(System.getProperty("user.home") + fs + ".jda");

src/main/java/club/bytecode/the/jda/api/ExceptionUI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ public class ExceptionUI extends JFrame {
2222
* @param e The exception to be shown
2323
*/
2424
public ExceptionUI(Throwable e) {
25-
setup(e, "https://github.com/ecx86/jda/issues");
25+
setup(e, JDA.ISSUE_TRACKER_URL);
2626
}
2727

2828
/**
2929
* @param e The exception to be shown
3030
*/
3131
public ExceptionUI(String e) {
32-
setup(e, "https://github.com/ecx86/jda/issues");
32+
setup(e, JDA.ISSUE_TRACKER_URL);
3333
}
3434

3535
/**

src/main/java/club/bytecode/the/jda/decompilers/JDADecompiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected String parseException(Throwable e) {
3030
e.printStackTrace(new PrintWriter(sw));
3131
e.printStackTrace();
3232
String exception = "JDA v" + JDA.version + JDA.nl + JDA.nl + sw.toString();
33-
return getName() + " encountered a problem! Send the stacktrace to https://github.com/ecx86/jda/issues" + JDA.nl +
33+
return getName() + " encountered a problem! Send the stacktrace to " + JDA.ISSUE_TRACKER_URL + JDA.nl +
3434
JDA.nl +
3535
"Suggested Fix: Click refresh class, if it fails again try another decompiler." + JDA.nl +
3636
JDA.nl +

0 commit comments

Comments
 (0)