Skip to content

Commit 78525d3

Browse files
committed
Add missing Deprecated annotations on Client methods
1 parent 3cd871a commit 78525d3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/ca/weblite/objc/Client.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@ public static Client getRawClient(){
9595
* @return Self for chaining.
9696
* @see TypeMapper
9797
* @see TypeMapping
98-
* @Deprecated Use {@link #getRawClient() } to get a client with coercion off. Use {@link #getInstance() } to get a client with coercion on.
98+
* @deprecated Use {@link #getRawClient() } to get a client with coercion off. Use {@link #getInstance() } to get a client with coercion on.
9999
*/
100+
@Deprecated
100101
public Client setCoerceInputs(boolean coerceInputs){
101102
throw new UnsupportedOperationException("Cannot modify coerce inputs setting on shared global instance of Objective-C client");
102-
103103
}
104104

105105
/**
@@ -111,8 +111,9 @@ public Client setCoerceInputs(boolean coerceInputs){
111111
* @return Self for chaining.
112112
* @see TypeMapper
113113
* @see TypeMapping
114-
* @Deprecated Use {@link #getRawClient() } to get a client with coercion off. Use {@link #getInstance() } to get a client with coercion on.
114+
* @deprecated Use {@link #getRawClient() } to get a client with coercion off. Use {@link #getInstance() } to get a client with coercion on.
115115
*/
116+
@Deprecated
116117
public Client setCoerceOutputs(boolean coerceOutputs){
117118
throw new UnsupportedOperationException("Cannot modify coerce inputs setting on shared global instance of Objective-C client");
118119
}

0 commit comments

Comments
 (0)