From bdc2622df81a25dbb5b0e9c4a796d88474573480 Mon Sep 17 00:00:00 2001 From: Rene Pfeuffer Date: Thu, 29 Aug 2019 17:30:33 +0200 Subject: [PATCH] Fix javadoc --- .../sonia/scm/repository/api/ModifyCommandBuilder.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scm-core/src/main/java/sonia/scm/repository/api/ModifyCommandBuilder.java b/scm-core/src/main/java/sonia/scm/repository/api/ModifyCommandBuilder.java index f5561c839a..5baa7dcd26 100644 --- a/scm-core/src/main/java/sonia/scm/repository/api/ModifyCommandBuilder.java +++ b/scm-core/src/main/java/sonia/scm/repository/api/ModifyCommandBuilder.java @@ -68,7 +68,10 @@ public class ModifyCommandBuilder { /** * Create a new file. The content of the file will be specified in a subsequent call to - * {@link SimpleContentLoader#withData(ByteSource)} or {@link SimpleContentLoader#withData(InputStream)}. + * {@link ContentLoader#withData(ByteSource)} or {@link ContentLoader#withData(InputStream)}. + * By default, an {@link sonia.scm.AlreadyExistsException} will be thrown, when there already + * exists a file with the given path. You can disable this setting + * {@link WithOverwriteFlagContentLoader#setOverwrite(boolean)} to true. * @param path The path and the name of the file that should be created. * @return The loader to specify the content of the new file. */ @@ -80,7 +83,7 @@ public class ModifyCommandBuilder { /** * Modify an existing file. The new content of the file will be specified in a subsequent call to - * {@link SimpleContentLoader#withData(ByteSource)} or {@link SimpleContentLoader#withData(InputStream)}. + * {@link ContentLoader#withData(ByteSource)} or {@link ContentLoader#withData(InputStream)}. * @param path The path and the name of the file that should be modified. * @return The loader to specify the new content of the file. */