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.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
public class GithubPasteService implements PasteService {
|
public class GitHubPasteService implements PasteService {
|
||||||
|
|
||||||
private final boolean isPrivate;
|
private final boolean isPrivate;
|
||||||
|
|
||||||
public GithubPasteService(boolean isPrivate) {
|
public GitHubPasteService(boolean isPrivate) {
|
||||||
this.isPrivate = isPrivate;
|
this.isPrivate = isPrivate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ public class PasteServiceFactory {
|
||||||
case HASTEBIN:
|
case HASTEBIN:
|
||||||
return new HastebinPasteService();
|
return new HastebinPasteService();
|
||||||
case GITHUB:
|
case GITHUB:
|
||||||
return new GithubPasteService(isPrivate);
|
return new GitHubPasteService(isPrivate);
|
||||||
default:
|
default:
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@ public enum PasteServiceType {
|
||||||
*/
|
*/
|
||||||
HASTEBIN,
|
HASTEBIN,
|
||||||
/**
|
/**
|
||||||
* @see GithubPasteService
|
* @see GitHubPasteService
|
||||||
*/
|
*/
|
||||||
GITHUB
|
GITHUB
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue