Skip to content

Commit a3b1262

Browse files
committed
Remove package comments
1 parent 5f59737 commit a3b1262

60 files changed

Lines changed: 121 additions & 121 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/main/java/org/kohsuke/github/GHApp.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -92,18 +92,18 @@ public void setPermissions(Map<String, String> permissions) {
9292
this.permissions = permissions;
9393
}
9494

95-
/* package */ GHApp wrapUp(GitHub root) {
95+
GHApp wrapUp(GitHub root) {
9696
this.root = root;
9797
return this;
9898
}
9999

100100
/**
101101
* Obtains all the installations associated with this app.
102-
*
102+
* <p>
103103
* You must use a JWT to access this endpoint.
104104
*
105-
* @see <a href="https://developer.github.com/v3/apps/#list-installations">List installations</a>
106105
* @return a list of App installations
106+
* @see <a href="https://developer.github.com/v3/apps/#list-installations">List installations</a>
107107
*/
108108
@Preview
109109
@Deprecated
@@ -113,15 +113,15 @@ public PagedIterable<GHAppInstallation> listInstallations() {
113113
}
114114

115115
/**
116-
* Obtain an installation associated with this app. You must use a JWT to access this endpoint.
116+
* Obtain an installation associated with this app.
117+
* <p>
118+
* You must use a JWT to access this endpoint.
117119
*
118120
* @param id
119121
* Installation Id
120-
*
121122
* @return a GHAppInstallation
122123
* @throws IOException
123124
* on error
124-
*
125125
* @see <a href="https://developer.github.com/v3/apps/#get-an-installation">Get an installation</a>
126126
*/
127127
@Preview
@@ -132,15 +132,15 @@ public GHAppInstallation getInstallationById(long id) throws IOException {
132132
}
133133

134134
/**
135-
* Obtain an organization installation associated with this app. You must use a JWT to access this endpoint.
135+
* Obtain an organization installation associated with this app.
136+
* <p>
137+
* You must use a JWT to access this endpoint.
136138
*
137139
* @param name
138140
* Organization name
139-
*
140141
* @return a GHAppInstallation
141142
* @throws IOException
142143
* on error
143-
*
144144
* @see <a href="https://developer.github.com/v3/apps/#get-an-organization-installation">Get an organization
145145
* installation</a>
146146
*/
@@ -152,17 +152,17 @@ public GHAppInstallation getInstallationByOrganization(String name) throws IOExc
152152
}
153153

154154
/**
155-
* Obtain an repository installation associated with this app You must use a JWT to access this endpoint.
155+
* Obtain an repository installation associated with this app.
156+
* <p>
157+
* You must use a JWT to access this endpoint.
156158
*
157159
* @param ownerName
158160
* Organization or user name
159161
* @param repositoryName
160162
* Repository name
161-
*
162163
* @return a GHAppInstallation
163164
* @throws IOException
164165
* on error
165-
*
166166
* @see <a href="https://developer.github.com/v3/apps/#get-a-repository-installation">Get a repository
167167
* installation</a>
168168
*/
@@ -175,15 +175,15 @@ public GHAppInstallation getInstallationByRepository(String ownerName, String re
175175
}
176176

177177
/**
178-
* Obtain a user installation associated with this app You must use a JWT to access this endpoint.
178+
* Obtain a user installation associated with this app.
179+
* <p>
180+
* You must use a JWT to access this endpoint.
179181
*
180182
* @param name
181183
* user name
182-
*
183184
* @return a GHAppInstallation
184185
* @throws IOException
185186
* on error
186-
*
187187
* @see <a href="https://developer.github.com/v3/apps/#get-a-user-installation">Get a user installation</a>
188188
*/
189189
@Preview

src/main/java/org/kohsuke/github/GHAppCreateTokenBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class GHAppCreateTokenBuilder {
2020

2121
@Preview
2222
@Deprecated
23-
/* package */ GHAppCreateTokenBuilder(GitHub root, String apiUrlTail, Map<String, GHPermissionType> permissions) {
23+
GHAppCreateTokenBuilder(GitHub root, String apiUrlTail, Map<String, GHPermissionType> permissions) {
2424
this.root = root;
2525
this.apiUrlTail = apiUrlTail;
2626
this.builder = new Requester(root);

src/main/java/org/kohsuke/github/GHAppInstallation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public void setRepositorySelection(GHRepositorySelection repositorySelection) {
135135
this.repositorySelection = repositorySelection;
136136
}
137137

138-
/* package */ GHAppInstallation wrapUp(GitHub root) {
138+
GHAppInstallation wrapUp(GitHub root) {
139139
this.root = root;
140140
return this;
141141
}

src/main/java/org/kohsuke/github/GHAppInstallationToken.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ private Object expiresAtStr(Date id, Class type) {
8282
return expires_at;
8383
}
8484

85-
/* package */ GHAppInstallationToken wrapUp(GitHub root) {
85+
GHAppInstallationToken wrapUp(GitHub root) {
8686
this.root = root;
8787
return this;
8888
}

src/main/java/org/kohsuke/github/GHAuthorization.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public String getFingerprint() {
9898
return fingerprint;
9999
}
100100

101-
/* package */ GHAuthorization wrap(GitHub root) {
101+
GHAuthorization wrap(GitHub root) {
102102
this.root = root;
103103
return this;
104104
}

src/main/java/org/kohsuke/github/GHBranch.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public String toString() {
123123
return "Branch:" + name + " in " + url;
124124
}
125125

126-
/* package */ GHBranch wrap(GHRepository repo) {
126+
GHBranch wrap(GHRepository repo) {
127127
this.owner = repo;
128128
this.root = repo.root;
129129
return this;

src/main/java/org/kohsuke/github/GHCommitQueryBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class GHCommitQueryBuilder {
2222
private final Requester req;
2323
private final GHRepository repo;
2424

25-
/* package */ GHCommitQueryBuilder(GHRepository repo) {
25+
GHCommitQueryBuilder(GHRepository repo) {
2626
this.repo = repo;
2727
this.req = repo.root.retrieve(); // requester to build up
2828
}

src/main/java/org/kohsuke/github/GHCommitSearchBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
@Preview
1414
@Deprecated
1515
public class GHCommitSearchBuilder extends GHSearchBuilder<GHCommit> {
16-
/* package */ GHCommitSearchBuilder(GitHub root) {
16+
GHCommitSearchBuilder(GitHub root) {
1717
super(root, CommitSearchResult.class);
1818
req.withPreview(Previews.CLOAK);
1919
}
@@ -108,7 +108,7 @@ private static class CommitSearchResult extends SearchResult<GHCommit> {
108108
private GHCommit[] items;
109109

110110
@Override
111-
/* package */ GHCommit[] getItems(GitHub root) {
111+
GHCommit[] getItems(GitHub root) {
112112
for (GHCommit commit : items) {
113113
String repoName = getRepoName(commit.url);
114114
try {

src/main/java/org/kohsuke/github/GHCommitStatus.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public class GHCommitStatus extends GHObject {
1919

2020
private GitHub root;
2121

22-
/* package */ GHCommitStatus wrapUp(GitHub root) {
22+
GHCommitStatus wrapUp(GitHub root) {
2323
if (creator != null)
2424
creator.wrapUp(root);
2525
this.root = root;

src/main/java/org/kohsuke/github/GHContentSearchBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* @see GitHub#searchContent()
88
*/
99
public class GHContentSearchBuilder extends GHSearchBuilder<GHContent> {
10-
/* package */ GHContentSearchBuilder(GitHub root) {
10+
GHContentSearchBuilder(GitHub root) {
1111
super(root, ContentSearchResult.class);
1212
}
1313

@@ -59,7 +59,7 @@ private static class ContentSearchResult extends SearchResult<GHContent> {
5959
private GHContent[] items;
6060

6161
@Override
62-
/* package */ GHContent[] getItems(GitHub root) {
62+
GHContent[] getItems(GitHub root) {
6363
for (GHContent item : items)
6464
item.wrap(root);
6565
return items;

0 commit comments

Comments
 (0)