Skip to content

Commit 852fabe

Browse files
mateuszgrskiJanEbbing
authored andcommitted
fix: issue#68 delete method not public
- this method should be public to allow deleting multilingual glossaries by only using their glossaryId.
1 parent 3835914 commit 852fabe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deepl-java/src/main/java/com/deepl/api/DeepLClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ public MultilingualGlossaryInfo updateMultilingualGlossaryDictionaryFromCsv(
641641
* @throws DeepLException If any error occurs while communicating with the DeepL API, a {@link
642642
* DeepLException} or a derived class will be thrown.
643643
*/
644-
void deleteMultilingualGlossary(String glossaryId) throws DeepLException, InterruptedException {
644+
public void deleteMultilingualGlossary(String glossaryId) throws DeepLException, InterruptedException {
645645
String relativeUrl = String.format("/v3/glossaries/%s", glossaryId);
646646
HttpResponse response = httpClientWrapper.sendDeleteRequestWithBackoff(relativeUrl);
647647
this.checkResponse(response, false, true);

0 commit comments

Comments
 (0)