Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 470da06

Browse filesBrowse files
committed
Cleaning up javadoc warnings
1 parent a746a31 commit 470da06
Copy full SHA for 470da06

File tree

Expand file treeCollapse file tree

6 files changed

+3
-9
lines changed
Filter options
Expand file treeCollapse file tree

6 files changed

+3
-9
lines changed

‎pom.xml

Copy file name to clipboardExpand all lines: pom.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>org.kohsuke</groupId>
55
<artifactId>pom</artifactId>
6-
<version>14</version>
6+
<version>17</version>
77
</parent>
88

99
<artifactId>github-api</artifactId>

‎src/main/java/org/kohsuke/github/GHRelease.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRelease.java
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,7 @@ static GHRelease[] wrap(GHRelease[] releases, GHRepository owner) {
121121
* Java 7 or greater. Options for fixing this for earlier JVMs can be found here
122122
* http://stackoverflow.com/questions/12361090/server-name-indication-sni-on-java but involve more complicated
123123
* handling of the HTTP requests to github's API.
124-
*
125-
* @throws IOException
126-
*/
124+
*/
127125
public GHAsset uploadAsset(File file, String contentType) throws IOException {
128126
Requester builder = new Requester(owner.root);
129127

‎src/main/java/org/kohsuke/github/GHReleaseBuilder.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHReleaseBuilder.java
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ public GHReleaseBuilder body(String body) {
3333
*
3434
* @param commitish Defaults to the repository’s default branch (usually "master"). Unused if the Git tag
3535
* already exists.
36-
* @return
3736
*/
3837
public GHReleaseBuilder commitish(String commitish) {
3938
if (commitish != null) {

‎src/main/java/org/kohsuke/github/GHRepository.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHRepository.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ public GHPersonSet<GHUser> getCollaborators() throws IOException {
449449
* Lists up the collaborators on this repository.
450450
*
451451
* @return Users
452-
* @throws IOException
453452
*/
454453
public PagedIterable<GHUser> listCollaborators() throws IOException {
455454
return listUsers("collaborators");
@@ -818,7 +817,7 @@ public GHTree getTreeRecursive(String sha, int recursive) throws IOException {
818817
}
819818

820819
/**
821-
* Obtains the metadata & the content of a blob.
820+
* Obtains the metadata &amp; the content of a blob.
822821
*
823822
* <p>
824823
* This method retrieves the whole content in memory, so beware when you are dealing with large BLOB.

‎src/main/java/org/kohsuke/github/GHTree.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GHTree.java
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ public String getSha() {
3030

3131
/**
3232
* Return an array of entries of the trees
33-
* @return
3433
*/
3534
public List<GHTreeEntry> getTree() {
3635
return Collections.unmodifiableList(Arrays.asList(tree));

‎src/main/java/org/kohsuke/github/GitHub.java

Copy file name to clipboardExpand all lines: src/main/java/org/kohsuke/github/GitHub.java
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,6 @@ protected void wrapUp(GHUser[] page) {
416416
*
417417
* @param key The license key provided from the API
418418
* @return The license details
419-
* @throws IOException
420419
* @see GHLicense#getKey()
421420
*/
422421
@Preview @Deprecated

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.