Skip to content

Commit d7828ad

Browse files
Merge pull request #3 from KartoffelChipss/pr/1
Updated comments to be more clear
2 parents 6632a17 + 97f53e2 commit d7828ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/org/strassburger/serverLinksZ/util/LinkManager.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public static void updateLinks() {
4141
}
4242

4343
/**
44-
* Registers a link
44+
* Registers a link (does not update the config)
4545
* @param name The name of the link
4646
* @param url The URL of the link
4747
*/
@@ -56,7 +56,7 @@ private static void registerLink(String name, String url) {
5656
}
5757

5858
/**
59-
* Adds a link
59+
* Adds a link to the config and updates the links
6060
* @param key The key of the link
6161
* @param name The name of the link
6262
* @param url The URL of the link
@@ -72,7 +72,7 @@ public static void addLink(String key, String name, String url, boolean command)
7272
}
7373

7474
/**
75-
* Removes a link
75+
* Removes a link from the config and updates the links
7676
* @param key The key of the link
7777
*/
7878
public static void removeLink(String key) {

0 commit comments

Comments
 (0)