Skip to content

Commit 93a2ca6

Browse files
olami-developersolami-developers
authored andcommitted
update sample code of datetime
1 parent 7fb8644 commit 93a2ca6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

examples/dump-nli-results-example/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>ai.olami.example</groupId>
66
<artifactId>dump-nli-results-example</artifactId>
7-
<version>20170708</version>
7+
<version>20171121</version>
88
<packaging>jar</packaging>
99

1010
<name>OLAMI Java Client Examples: Dump NLI Results</name>

examples/dump-nli-results-example/src/main/java/ai/olami/example/DumpNLIResultsExample.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ public static void dumpNLIResults(NLIResult[] nliResults) {
108108
datetime.getType());
109109
// ai.olami.nli.slot.DateTimeData
110110
DateTimeData dtd = datetime.getData();
111-
System.out.format("|\t\t - data: %s\n",
112-
dtd.getStartTime());
111+
System.out.format("|\t\t - data:\n");
113112
System.out.format("|\t\t \t- starttime: %s\n",
114113
dtd.getStartTime());
115114
System.out.format("|\t\t \t- endtime: %s\n",

0 commit comments

Comments
 (0)