Skip to content

Commit a4a1f84

Browse files
committed
chore: Suppress warnings about deprecation in library code
1 parent 4e787a8 commit a4a1f84

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public DeepLClient(String authKey) throws IllegalArgumentException {
3737
* @param options Additional options controlling Client behaviour.
3838
* @throws IllegalArgumentException If authKey is invalid.
3939
*/
40+
@SuppressWarnings("deprecation")
4041
public DeepLClient(String authKey, DeepLClientOptions options) throws IllegalArgumentException {
4142
super(authKey, options);
4243
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,5 @@
44
package com.deepl.api;
55

66
/** {@inheritDoc} */
7+
@SuppressWarnings("deprecation")
78
public class DeepLClientOptions extends TranslatorOptions {}

0 commit comments

Comments
 (0)