Fix CI warnings after upstream merge · Ecwid/github-api@8266fb3 · GitHub
Skip to content

Commit 8266fb3

Browse files
committed
Fix CI warnings after upstream merge
1 parent 5ee843d commit 8266fb3

6 files changed

Lines changed: 260 additions & 6 deletions

File tree

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

Lines changed: 7 additions & 0 deletions

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ public GHRepository getOwner() {
353353
/**
354354
* Gets commit verification.
355355
*
356-
* @return
356+
* @return the commit verification
357357
*/
358358
public GHVerification getVerification() {
359359
return commit.getVerification();
@@ -362,7 +362,7 @@ public GHVerification getVerification() {
362362
/**
363363
* Gets commit author.
364364
*
365-
* @return
365+
* @return the commit author
366366
*/
367367
public GitUser getCommitAuthor() {
368368
return commit.getAuthor();
@@ -371,7 +371,7 @@ public GitUser getCommitAuthor() {
371371
/**
372372
* Gets commit committer.
373373
*
374-
* @return
374+
* @return the commit committer
375375
*/
376376
public GitUser getCommitCommitter() {
377377
return commit.getCommitter();

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

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,41 +4,94 @@
44

55
import javax.annotation.Nonnull;
66

7+
/**
8+
* Environment variable configured for a repository environment.
9+
*/
710
public class GHEnvironmentVariable extends GitHubInteractiveObject {
811

912
private String name;
1013
private String value;
1114
private String createdAt;
1215
private String updatedAt;
1316

17+
/**
18+
* Creates an environment variable instance.
19+
*/
20+
public GHEnvironmentVariable() {
21+
}
22+
23+
/**
24+
* Gets the variable name.
25+
*
26+
* @return the variable name
27+
*/
1428
public String getName() {
1529
return name;
1630
}
1731

32+
/**
33+
* Sets the variable name.
34+
*
35+
* @param name
36+
* the variable name
37+
*/
1838
public void setName(String name) {
1939
this.name = name;
2040
}
2141

42+
/**
43+
* Gets the variable value.
44+
*
45+
* @return the variable value
46+
*/
2247
public String getValue() {
2348
return value;
2449
}
2550

51+
/**
52+
* Sets the variable value.
53+
*
54+
* @param value
55+
* the variable value
56+
*/
2657
public void setValue(String value) {
2758
this.value = value;
2859
}
2960

61+
/**
62+
* Gets the creation timestamp.
63+
*
64+
* @return the creation timestamp
65+
*/
3066
public String getCreatedAt() {
3167
return createdAt;
3268
}
3369

70+
/**
71+
* Sets the creation timestamp.
72+
*
73+
* @param createdAt
74+
* the creation timestamp
75+
*/
3476
public void setCreatedAt(String createdAt) {
3577
this.createdAt = createdAt;
3678
}
3779

80+
/**
81+
* Gets the update timestamp.
82+
*
83+
* @return the update timestamp
84+
*/
3885
public String getUpdatedAt() {
3986
return updatedAt;
4087
}
4188

89+
/**
90+
* Sets the update timestamp.
91+
*
92+
* @param updatedAt
93+
* the update timestamp
94+
*/
4295
public void setUpdatedAt(String updatedAt) {
4396
this.updatedAt = updatedAt;
4497
}

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

Lines changed: 10 additions & 0 deletions

0 commit comments

Comments
 (0)