Skip to content

Commit

Permalink
ddcore-9261: add fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Ya.komarov authored and KYaIgor committed Nov 25, 2024
1 parent 8fa6170 commit 292b9b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>ru.kontur.diadoc</groupId>
<artifactId>diadocsdk</artifactId>
<version>3.20.0-dev.5429.28865</version>
<version>3.24.0</version>

<packaging>jar</packaging>

Expand Down
11 changes: 5 additions & 6 deletions src/main/java/Diadoc/Api/shelf/ShelfClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,9 @@ public int getShelfUploadMaxAttemptsCount() {
}

/**
* Use shelfDownload instead
* @deprecated
* Используйте {@link #shelfDownloadV2(String)}
*/

@Deprecated
public byte[] shelfDownload(String nameOnShelf) throws DiadocSdkException {
if (!nameOnShelf.contains(SHELF_PATH_PREFIX))
nameOnShelf = SHELF_PATH_PREFIX + "/" + nameOnShelf;
Expand Down Expand Up @@ -71,10 +70,10 @@ public byte[] shelfDownloadV2(String fileName) throws DiadocSdkException {
}

/**
* Use uploadFileToShelfV2 or uploadLargeFileToShelf instead
* @deprecated
* Используйте {@link #uploadLargeFileToShelf(byte[], String)}
* Или {@link #uploadFileToShelfV2(byte[], String)}
*/

@Deprecated
public String uploadFileToShelf(byte[] data) throws DiadocSdkException {
if (data == null)
throw new IllegalArgumentException("data");
Expand Down

0 comments on commit 292b9b5

Please sign in to comment.