mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 10:36:06 +01:00
rename GithubPasteService as GitHubPasteService
This commit is contained in:
parent
676c3a2e3d
commit
e17e9c8ce9
@ -15,11 +15,11 @@ import java.nio.charset.StandardCharsets;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class GithubPasteService implements PasteService {
|
||||
public class GitHubPasteService implements PasteService {
|
||||
|
||||
private final boolean isPrivate;
|
||||
|
||||
public GithubPasteService(boolean isPrivate) {
|
||||
public GitHubPasteService(boolean isPrivate) {
|
||||
this.isPrivate = isPrivate;
|
||||
}
|
||||
|
||||
|
@ -19,7 +19,7 @@ public class PasteServiceFactory {
|
||||
case HASTEBIN:
|
||||
return new HastebinPasteService();
|
||||
case GITHUB:
|
||||
return new GithubPasteService(isPrivate);
|
||||
return new GitHubPasteService(isPrivate);
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
@ -16,7 +16,7 @@ public enum PasteServiceType {
|
||||
*/
|
||||
HASTEBIN,
|
||||
/**
|
||||
* @see GithubPasteService
|
||||
* @see GitHubPasteService
|
||||
*/
|
||||
GITHUB
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user