We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b12fbad commit e8c8997Copy full SHA for e8c8997
src/org/sosy_lab/java_smt/basicimpl/FormulaCreator.java
@@ -785,7 +785,7 @@ public Object convertValue(
785
/** Variable names (symbols) can be wrapped with "|". This function removes those chars. */
786
protected static String dequote(String s) {
787
int l = s.length();
788
- if (s.charAt(0) == '|' && s.charAt(l - 1) == '|') {
+ if (l >= 2 && s.charAt(0) == '|' && s.charAt(l - 1) == '|') {
789
return s.substring(1, l - 1);
790
}
791
return s;
0 commit comments