Skip to content

Commit

Permalink
Minor refactoring: add comment for a lockToken
Browse files Browse the repository at this point in the history
  • Loading branch information
rt1shnik committed Feb 6, 2020
1 parent e988126 commit 15f8aa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/thegrizzlylabs/sardineandroid/Sardine.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,10 @@ public interface Sardine
* @param sourceUrl Path to the resource including protocol and hostname
* @param destinationUrl Path to the resource including protocol and hostname
* @param overwrite {@code true} to overwrite if the destination exists, {@code false} otherwise.
* @param lockToken A lock token is a type of state token that identifies a particular lock.
* @throws IOException I/O error or HTTP response validation failure
*/
void move(String sourceUrl, String destinationUrl, boolean overwrite, String lockTocken) throws IOException;
void move(String sourceUrl, String destinationUrl, boolean overwrite, String lockToken) throws IOException;

/**
* Copy a url from source to destination using WebDAV <code>COPY</code>. Assumes overwrite.
Expand Down

0 comments on commit 15f8aa1

Please sign in to comment.