Skip to content

Commit 722d273

Browse files
Comment & String Fixes
1 parent 472adbb commit 722d273

17 files changed

Lines changed: 26 additions & 26 deletions

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ When modifying existing tests, you can change the stubbed WireMock data files by
8282
#### Manual editing of data (minor changes only)
8383

8484
If you know what data will change, it is sometimes simplest to make any required changes to the data files manually.
85-
This can be easier if the changes are minor or when you development environment is not setup to to take updated snapshots.
85+
This can be easier if the changes are minor or when you development environment is not setup to take updated snapshots.
8686

8787
#### Generating a new snapshot
8888

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static class Stats {
125125
/**
126126
* A file that was modified.
127127
*/
128-
@SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "It's being initilized by JSON deserialization")
128+
@SuppressFBWarnings(value = "UWF_UNWRITTEN_FIELD", justification = "It's being initialized by JSON deserialization")
129129
public static class File {
130130

131131
/** The status. */

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ GHCompare lateBind(GHRepository owner) {
224224
}
225225

226226
/**
227-
* Compare commits had a child commit element with additional details we want to capture. This extenstion of
227+
* Compare commits had a child commit element with additional details we want to capture. This extension of
228228
* GHCommit provides that.
229229
*/
230230
@SuppressFBWarnings(value = { "UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD", "UWF_UNWRITTEN_FIELD" },

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// TODO: Auto-generated Javadoc
1212
/**
13-
* Request/responce contains useful metadata. Custom exception allows store info for next diagnostics.
13+
* Request/response contains useful metadata. Custom exception allows store info for next diagnostics.
1414
*
1515
* @author Kanstantsin Shautsou
1616
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
// TODO: Auto-generated Javadoc
1212
/**
13-
* Request/responce contains useful metadata. Custom exception allows store info for next diagnostics.
13+
* Request/response contains useful metadata. Custom exception allows store info for next diagnostics.
1414
*
1515
* @author Kanstantsin Shautsou
1616
*/

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ public List<GHIssueComment> getComments() throws IOException {
517517
}
518518

519519
/**
520-
* Obtains all the comments associated with this issue, witout any filter.
520+
* Obtains all the comments associated with this issue, without any filter.
521521
*
522522
* @return the paged iterable
523523
* @throws IOException

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ public List<GHEmail> getEmails2() throws IOException {
7070
}
7171

7272
/**
73-
* Returns the read-only list of all the pulic keys of the current user.
73+
* Returns the read-only list of all the public keys of the current user.
7474
* <p>
75-
* NOTE: When using OAuth authenticaiton, the READ/WRITE User scope is required by the GitHub APIs, otherwise you
75+
* NOTE: When using OAuth authentication, the READ/WRITE User scope is required by the GitHub APIs, otherwise you
7676
* will get a 404 NOT FOUND.
7777
*
7878
* @return Always non-null.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ public List<GHRepository> getRepositoriesWithOpenPullRequests() throws IOExcepti
655655
}
656656

657657
/**
658-
* Gets all the open pull requests in this organizataion.
658+
* Gets all the open pull requests in this organization.
659659
*
660660
* @return the pull requests
661661
* @throws IOException

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ Record getRecord(@Nonnull RateLimitTarget rateLimitTarget) {
347347
}
348348

349349
/**
350-
* A limit record used as a placeholder when the the actual limit is not known.
350+
* A limit record used as a placeholder when the actual limit is not known.
351351
*
352352
* @since 1.100
353353
*/
@@ -528,7 +528,7 @@ && getRemaining() <= other.getRemaining())) {
528528
} else if (!(other instanceof UnknownLimitRecord)) {
529529
// If the above is not the case that means other has a later reset
530530
// or the same resent and fewer requests remaining.
531-
// If the other record is not an unknown record, the the other is more recent
531+
// If the other record is not an unknown record, the other is more recent
532532
return other;
533533
} else if (this.isExpired() && !other.isExpired()) {
534534
// The other is an unknown record.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public void delete() throws IOException {
8585
}
8686

8787
/**
88-
* Retrive a ref of the given type for the current GitHub repository.
88+
* Retrieve a ref of the given type for the current GitHub repository.
8989
*
9090
* @param repository
9191
* the repository to read from

0 commit comments

Comments
 (0)