Skip to content

Commit 810f628

Browse files
bump to 2.10.0
1 parent f14778d commit 810f628

File tree

5 files changed

+12
-12
lines changed

5 files changed

+12
-12
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ APIs and SDKs that use cognitive computing to solve complex problems.
4747
<dependency>
4848
<groupId>com.ibm.watson.developer_cloud</groupId>
4949
<artifactId>java-sdk</artifactId>
50-
<version>2.9.0</version>
50+
<version>2.10.0</version>
5151
</dependency>
5252
```
5353
##### Gradle
5454

5555
```gradle
56-
'com.ibm.watson.developer_cloud:java-sdk:2.9.0'
56+
'com.ibm.watson.developer_cloud:java-sdk:2.10.0'
5757
```
5858

5959
Now, you are ready to see some [examples](https://github.com/watson-developer-cloud/java-sdk/tree/master/examples/java/com/ibm/watson/developer_cloud).
@@ -454,7 +454,7 @@ Gradle:
454454

455455
```sh
456456
$ cd java-sdk
457-
$ gradle jar # build jar file (build/libs/watson-developer-cloud-2.9.0.jar)
457+
$ gradle jar # build jar file (build/libs/watson-developer-cloud-2.10.0.jar)
458458
$ gradle test # run tests
459459
```
460460

@@ -524,4 +524,4 @@ See [CONTRIBUTING.md](.github/CONTRIBUTING.md).
524524
[apache_maven]: http://maven.apache.org/
525525
[releases]: https://github.com/watson-developer-cloud/java-sdk/releases
526526

527-
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-2.9.0/java-sdk-2.9.0-jar-with-dependencies.jar
527+
[jar]: https://github.com/watson-developer-cloud/java-sdk/releases/download/java-sdk-2.10.0/java-sdk-2.10.0-jar-with-dependencies.jar

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sourceCompatibility = 1.6
77
targetCompatibility = 1.6
88
group = 'com.ibm.watson.developercloud'
99
archivesBaseName = 'watson-developer-cloud'
10-
version = '2.9.0'
10+
version = '2.10.0'
1111

1212
description = 'Client library to use the IBM Watson Services and AlchemyAPI'
1313

examples/retrieve-and-rank-solrj/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<dependency>
2828
<groupId>com.ibm.watson.developer_cloud</groupId>
2929
<artifactId>java-sdk</artifactId>
30-
<version>2.9.0</version>
30+
<version>2.10.0</version>
3131
</dependency>
3232
</dependencies>
3333
</project>

src/main/java/com/ibm/watson/developer_cloud/service/WatsonService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public String getName() {
286286
* @return the user agent
287287
*/
288288
private String getUserAgent() {
289-
return "watson-developer-cloud-java-sdk-2.9.0";
289+
return "watson-developer-cloud-java-sdk-2.10.0";
290290
}
291291

292292
/**

src/test/java/com/ibm/watson/developer_cloud/service/GenericServiceTest.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
22
* Copyright 2015 IBM Corp. All Rights Reserved.
3-
*
3+
*
44
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
55
* in compliance with the License. You may obtain a copy of the License at
6-
*
6+
*
77
* http://www.apache.org/licenses/LICENSE-2.0
8-
*
8+
*
99
* Unless required by applicable law or agreed to in writing, software distributed under the License
1010
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
1111
* or implied. See the License for the specific language governing permissions and limitations under
@@ -38,7 +38,7 @@ public class GenericServiceTest extends WatsonServiceUnitTest {
3838

3939
/**
4040
* Mock an API call and return an error.
41-
*
41+
*
4242
* @param code the code
4343
* @param errorMessage the error message
4444
*/
@@ -179,7 +179,7 @@ public void testUserAgentIsSet() {
179179
mockAPICall();
180180
service.getProfile(sampleText);
181181
mockServer.verify(new HttpRequest().withMethod("POST").withHeader(
182-
new Header(HttpHeaders.USER_AGENT, "watson-developer-cloud-java-sdk-2.9.0")));
182+
new Header(HttpHeaders.USER_AGENT, "watson-developer-cloud-java-sdk-2.10.0")));
183183
}
184184

185185
@Test

0 commit comments

Comments
 (0)