diff options
author | Michael Keppler | 2019-02-03 08:19:13 +0000 |
---|---|---|
committer | Michael Keppler | 2019-02-04 20:17:32 +0000 |
commit | 1c5a942469bb981ccb7f7975fd95b7b6f0334126 (patch) | |
tree | d0e81f280b470666a22551b6327a1654617d4f0d /org.eclipse.egit.github.core | |
parent | c2281b6e5a27aedb7b66fdda03f8ae97f012a912 (diff) | |
download | egit-github-1c5a942469bb981ccb7f7975fd95b7b6f0334126.tar.gz egit-github-1c5a942469bb981ccb7f7975fd95b7b6f0334126.tar.xz egit-github-1c5a942469bb981ccb7f7975fd95b7b6f0334126.zip |
Write GitHub with capital H
In some end user visible areas it was written as "Github" before, so
this changes all the occurrences, including not end user visible
comments.
Change-Id: Idd4b994ef63e640d9e77ea610b1b75b64520e41d
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
Diffstat (limited to 'org.eclipse.egit.github.core')
3 files changed, 6 insertions, 5 deletions
diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java index 10864a6d..86936065 100644 --- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java +++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/Repository.java @@ -12,13 +12,13 @@ *****************************************************************************/ package org.eclipse.egit.github.core; +import com.google.gson.annotations.SerializedName; + import java.io.Serializable; import java.util.Date; import org.eclipse.egit.github.core.util.DateUtils; -import com.google.gson.annotations.SerializedName; - /** * Repository model class */ @@ -57,7 +57,7 @@ public class Repository implements IRepositoryIdProvider, Serializable { private int stargazersCount; - /** This is what Github shows as "watchers". */ + /** This is what GitHub shows as "watchers". */ private int subscribersCount = -1; private Repository parent; @@ -562,6 +562,7 @@ public class Repository implements IRepositoryIdProvider, Serializable { * * @see IRepositoryIdProvider#generateId() */ + @Override public String generateId() { final User owner = this.owner; final String name = this.name; diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java index f958004a..81c2a270 100644 --- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java +++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/User.java @@ -69,7 +69,7 @@ public class User implements Serializable { private String email; - // Github legacy field; needs to be kept for proper deserialization. + // GitHub legacy field; needs to be kept for proper deserialization. @SuppressWarnings("unused") private String gravatarId; diff --git a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/TeamService.java b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/TeamService.java index 28c9d45b..e135a456 100644 --- a/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/TeamService.java +++ b/org.eclipse.egit.github.core/src/org/eclipse/egit/github/core/service/TeamService.java @@ -280,7 +280,7 @@ public class TeamService extends GitHubService { request.setType(TeamMembership.class); // According to // https://developer.github.com/v3/teams/members/#get-team-membership - // Github returns a 404 if the user is not a member of the team, which + // GitHub returns a 404 if the user is not a member of the team, which // the GitHubClient translates into an IOException. Is that correct? return (TeamMembership) client.get(request).getBody(); } |