Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit c2b3217

Browse files
committed
Write out "sub" to "subscription" in javadoc
1 parent 443f506 commit c2b3217

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/main/java/org/codeoverflow/chatoverflow/api/io/dto/stat/stream/Subscription.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ public int getResub() {
5151
/**
5252
* Returns the tier of the subscription {@link SubscriptionTier}.
5353
*
54-
* @return the sub tier
54+
* @return the subscription tier
5555
*/
5656
public SubscriptionTier getTier() {
5757
return tier;
5858
}
5959

6060
/**
61-
* Returns if the sub was gifted by someone else or not
61+
* Returns if the subscription was gifted by someone else or not
6262
*
63-
* @return it the sub was gifted
63+
* @return it the subscription was gifted
6464
*/
6565
public boolean isGifted() {
6666
return gifted;
@@ -69,7 +69,7 @@ public boolean isGifted() {
6969
/**
7070
* Returns the donor of the subscription if it was gifted.
7171
*
72-
* @return the donor of the sub
72+
* @return the donor of the subscription
7373
*/
7474
public T getDonor() {
7575
return donor;

src/main/java/org/codeoverflow/chatoverflow/api/io/dto/stat/stream/SubscriptionTier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public String toString() {
3232
/**
3333
* Parse the tier from a string
3434
*
35-
* @param tier the tier of the sub. 0 is prime, 1 is tier 1 and so on.
36-
* @return the sub-tier represented by the passed number or {@link #UNKNOWN}.
35+
* @param tier the tier of the subscription. 0 is prime, 1 is tier 1 and so on.
36+
* @return the subscription-tier represented by the passed number or {@link #UNKNOWN}.
3737
*/
3838
public static SubscriptionTier parse(int tier) {
3939
return Arrays.stream(values())

0 commit comments

Comments
 (0)