Skip to content

Commit 8426e26

Browse files
authored
Merge pull request #31 from PatrickFarley/patch-1
close writer to fix scenario
2 parents d62bdd5 + dd86e06 commit 8426e26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ContentModerator/ContentModeratorQuickstart/src/main/java/ContentModeratorQuickstart.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ public static void main(String[] args) {
8686
Gson gson = new GsonBuilder().setPrettyPrinting().create();
8787
System.out.println("adding imageData to file: " + gson.toJson(evaluationData).toString());
8888
writer.write(gson.toJson(evaluationData).toString());
89+
writer.close();
8990

9091
} catch (Exception e) {
9192
System.out.println(e.getMessage());

0 commit comments

Comments
 (0)