rename GithubPasteService as GitHubPasteService

This commit is contained in:
Kermina Awad 2020-06-06 20:17:05 -04:00
parent 676c3a2e3d
commit e17e9c8ce9
3 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -16,7 +16,7 @@ public enum PasteServiceType {
*/
HASTEBIN,
/**
* @see GithubPasteService
* @see GitHubPasteService
*/
GITHUB
}