Skip to content

Commit

Permalink
Reformat code.
Browse files Browse the repository at this point in the history
  • Loading branch information
RezzedUp committed Nov 18, 2024
1 parent cf5a434 commit 8750652
Show file tree
Hide file tree
Showing 34 changed files with 2,338 additions and 2,330 deletions.
10 changes: 5 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = tab
insert_final_newline = true
charset = utf-8
indent_style = space
indent_size = 4

[*.{xml,yml}]
indent_size = 2
[*.yml]
indent_style = space
26 changes: 13 additions & 13 deletions src/main/java/com/rezzedup/discordsrv/staffchat/ChatService.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@
*/
package com.rezzedup.discordsrv.staffchat;

public enum ChatService
{
MINECRAFT("In-Game"),
DISCORD("Discord");
private final String prefix;
ChatService(String prefix) { this.prefix = prefix; }
public String asPrefixInBrackets(String context)
{
return "[" + prefix + ": " + context + "]";
}
public enum ChatService {
MINECRAFT("In-Game"),
DISCORD("Discord");
private final String prefix;
ChatService(String prefix) {
this.prefix = prefix;
}
public String asPrefixInBrackets(String context) {
return "[" + prefix + ": " + context + "]";
}
}
Loading

0 comments on commit 8750652

Please sign in to comment.