Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Nov 27, 2024
1 parent da93378 commit c2b246e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,9 @@ static Command<CommitResult> push(@Nullable Long timestamp, Author author,
}

/**
* Returns a new {@link Command} which is used to push the changes. The change is created by transforming
* the content of the base revision with the specified {@link ContentTransformer}.
* You can find the normalized changes from the {@link CommitResult#changes()} that is the result of
* {@link CommandExecutor#execute(Command)}.
* Returns a new {@link Command} that transforms the content at the base revision with
* the specified {@link ContentTransformer} and pushed the result of transformation.
* You can find the result of transformation from {@link CommitResult#changes()}.
*/
static Command<CommitResult> transform(@Nullable Long timestamp, Author author,
String projectName, String repositoryName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
import com.linecorp.centraldogma.common.Revision;

/**
* A {@link Command} which is used for pushing a change to the repository. The change is created by transforming
* the content of the base revision with the specified {@link ContentTransformer}.
* You can find the normalized changes from the {@link CommitResult#changes()} that is the result of
* {@link CommandExecutor#execute(Command)}. Note that this command is not serialized and deserialized.
* A {@link Command} that transforms the content at the base revision with
* the specified {@link ContentTransformer} and pushed the result of transformation.
* You can find the result of transformation from {@link CommitResult#changes()}.
* Note that this command is not serialized and deserialized.
*/
public final class TransformCommand extends RepositoryCommand<CommitResult> {

Expand Down

0 comments on commit c2b246e

Please sign in to comment.