Skip to content

Commit 2b8e1ab

Browse files
committed
Fixed import colon bug
1 parent 1db38b7 commit 2b8e1ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/TableExtension.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ public ExtensionObject readExtensionObject(org.nlogo.api.ExtensionManager reader
376376
String typeName, String value)
377377
throws ExtensionException {
378378
try {
379-
String[] s = value.split(":");
379+
String[] s = value.split(":", 2);
380380
long id = Long.parseLong(s[0]);
381381
Table table = getOrCreateTableFromId(id);
382382
if (s.length > 1) {

0 commit comments

Comments
 (0)