Skip to content

Commit

Permalink
Improve javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavpandey committed Jun 24, 2023
1 parent e4ef241 commit b257d10
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public void setData(@Nullable T data) {

/**
* The result class to represent the success.
*
* @param <T> The type of the success.
*/
public static final class Success<T> extends DynamicResult<T> {

Expand All @@ -70,6 +72,8 @@ public Success(@Nullable T data) {

/**
* The result class to represent the progress.
*
* @param <T> The type of the progress.
*/
public static final class Progress<T> extends DynamicResult<T> {

Expand All @@ -85,6 +89,8 @@ public Progress(@Nullable T data) {

/**
* The result class to represent the error.
*
* @param <T> The type of the error.
*/
public static final class Error<T> extends DynamicResult<T> {

Expand Down

0 comments on commit b257d10

Please sign in to comment.