Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Commit f0e73a2

Browse files
unknownunknown
authored andcommitted
Updated to v17.10.1
1 parent 76f17e3 commit f0e73a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<dependency>
2424
<groupId>com.groupdocs</groupId>
2525
<artifactId>groupdocs-annotation</artifactId>
26-
<version>3.1.0</version>
26+
<version>17.10.1</version>
2727
</dependency>
2828
<dependency>
2929
<groupId>com.fasterxml.jackson.core</groupId>

src/main/java/com/groupdocs/ui/Utils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public static Document findDocumentByName(String name) {
3939
long documentId = imageHandler.createDocument(name);
4040

4141
try (InputStream original = new FileInputStream(Utils.getStoragePath() + "/" + name)) {
42-
imageHandler.importAnnotations(original, documentId);
42+
imageHandler.importAnnotations(original, ""+documentId);
4343
} catch (Exception x) {
4444
throw new RuntimeException(x);
4545
}

0 commit comments

Comments
 (0)