Skip to content

Commit 43faf87

Browse files
docs(cc): add deprecation message when creating instance
1 parent f085b0c commit 43faf87

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compare-comply/src/main/java/com/ibm/watson/compare_comply/v1/CompareComply.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ public CompareComply(String version, String serviceName, Authenticator authentic
123123
setServiceUrl(DEFAULT_SERVICE_URL);
124124
setVersion(version);
125125
this.configureService(serviceName);
126+
127+
System.err.println(
128+
"On 30 November 2021, Compare and Comply will no longer be available."
129+
+ "\nFor more information, see Compare and Comply Deprecation "
130+
+ "(https://github.com/watson-developer-cloud/java-sdk#compare-and-comply-deprecation).");
126131
}
127132

128133
/**

0 commit comments

Comments
 (0)