From c2b246e65512a7417db3c9de16f7c799a40c64e9 Mon Sep 17 00:00:00 2001 From: minwoox Date: Wed, 27 Nov 2024 18:05:12 +0900 Subject: [PATCH] Fix comments --- .../com/linecorp/centraldogma/server/command/Command.java | 7 +++---- .../centraldogma/server/command/TransformCommand.java | 8 ++++---- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/server/src/main/java/com/linecorp/centraldogma/server/command/Command.java b/server/src/main/java/com/linecorp/centraldogma/server/command/Command.java index 930cc2bd6..1732648e7 100644 --- a/server/src/main/java/com/linecorp/centraldogma/server/command/Command.java +++ b/server/src/main/java/com/linecorp/centraldogma/server/command/Command.java @@ -342,10 +342,9 @@ static Command 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 transform(@Nullable Long timestamp, Author author, String projectName, String repositoryName, diff --git a/server/src/main/java/com/linecorp/centraldogma/server/command/TransformCommand.java b/server/src/main/java/com/linecorp/centraldogma/server/command/TransformCommand.java index 73803fc3f..e92896bc4 100644 --- a/server/src/main/java/com/linecorp/centraldogma/server/command/TransformCommand.java +++ b/server/src/main/java/com/linecorp/centraldogma/server/command/TransformCommand.java @@ -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 {