Skip to content

Commit f0fd876

Browse files
committed
Fix bug #1841
1 parent 3e1dfef commit f0fd876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/ImportAPI/src/main/java/org/gephi/io/importer/impl/ImportContainerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ private void checkId(String id) {
10981098
if (id == null) {
10991099
throw new NullPointerException();
11001100
}
1101-
if (id.trim().isEmpty()) {
1101+
if (id.isEmpty()) {
11021102
throw new IllegalArgumentException("The id can't be empty");
11031103
}
11041104
}

0 commit comments

Comments
 (0)