Skip to content
Snippets Groups Projects
Commit 26357df8 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

operator sign fixed

parent 67e137e8
No related branches found
No related tags found
2 merge requests!630WIP: Resolve "The privileges of a new user are not saved in some cases",!521Resolve "SBML upload error, files from BioModels"
Pipeline #7897 failed
...@@ -768,7 +768,7 @@ public enum MiriamType { ...@@ -768,7 +768,7 @@ public enum MiriamType {
} }
} }
if (foundType != null) { if (foundType != null) {
if (foundUri.length() <= miriamUri.length()) { if (foundUri.length() >= miriamUri.length()) {
throw new InvalidArgumentException("Invalid miriam uri: " + miriamUri); throw new InvalidArgumentException("Invalid miriam uri: " + miriamUri);
} }
return new MiriamData(foundType, miriamUri.substring(foundUri.length() + 1)); return new MiriamData(foundType, miriamUri.substring(foundUri.length() + 1));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment