Skip to content

Commit 2896e54

Browse files
switch to jdk 1.7 and added a test cases for concept Insights
1 parent a1ff509 commit 2896e54

File tree

5 files changed

+409
-4
lines changed

5 files changed

+409
-4
lines changed

config.properties.enc

-128 Bytes
Binary file not shown.

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@
105105
<artifactId>maven-compiler-plugin</artifactId>
106106
<version>3.2</version>
107107
<configuration>
108-
<source>1.6</source>
109-
<target>1.6</target>
108+
<source>1.7</source>
109+
<target>1.7</target>
110110
</configuration>
111111
</plugin>
112112
<plugin>

src/main/java/com/ibm/watson/developer_cloud/concept_insights/v2/ConceptInsights.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,12 @@ public class ConceptInsights extends WatsonService {
5252
* The Constant ACCOUNT_ID. (value is "account_id")
5353
*/
5454
public static final String ACCOUNT_ID = "account_id";
55-
55+
56+
/**
57+
* The Constant CONCEPT_ID. (value is "concept_id")
58+
*/
59+
public static final String CONCEPT_ID = "concept_id";
60+
5661
/**
5762
* The ACCOUNTS_PATH. (value is "/v2/accounts")
5863
*/

src/main/java/com/ibm/watson/developer_cloud/util/GsonSingleton.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public class GsonSingleton {
2525

2626
/** The Constant DATE_FORMAT_UTC. */
27-
private static final String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSSXXX";
27+
private static final String DATE_FORMAT_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSSX";
2828
/** The gson. */
2929
private static Gson gson;
3030

0 commit comments

Comments
 (0)