Skip to content

Commit

Permalink
Update src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Feb 26, 2023
1 parent 83324ca commit 35dcc05
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/main/java/org/kohsuke/github/GHPullRequestReviewComment.java
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,21 @@ public GHPullRequestReviewCommentReactions getReactions() {
* The side of the diff to which the comment applies
*/
public static enum Side {
RIGHT, LEFT, UNKNOWN;


/** Right side */
RIGHT,
/** Left side */
LEFT,
/** Unknown side */
UNKNOWN;

/**
* From.
*
* @param value
* the value
* @return the status
*/
public static Side from(String value) {
return EnumUtils.getEnumOrDefault(Side.class, value, Side.UNKNOWN);
}
Expand Down

0 comments on commit 35dcc05

Please sign in to comment.