File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
storage/inchi/src/main/java/org/openscience/cdk/inchi Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 2828import net .sf .jniinchi .JniInchiInput ;
2929
3030import java .text .DecimalFormat ;
31- import java .text .DecimalFormatSymbols ;
3231import java .util .List ;
33- import java .util .Locale ;
3432import java .util .StringTokenizer ;
3533
3634public class JniInChIInputAdapter extends JniInchiInput {
@@ -102,7 +100,7 @@ private static String checkOptions(final String ops) throws JniInchiException {
102100 if (isSubSecondTimeout (op )) {
103101 // because the JNI-InChI library is expecting an platform number, format it as such
104102 Double time = Double .parseDouble (op .substring (1 ));
105- DecimalFormat format = new DecimalFormat ("#.##" , DecimalFormatSymbols . getInstance ( Locale . ROOT ) );
103+ DecimalFormat format = new DecimalFormat ("#.##" );
106104 sbOptions .append (FLAG_CHAR ).append ('W' ).append (format .format (time ));
107105 } else {
108106 sbOptions .append (FLAG_CHAR ).append (op );
You can’t perform that action at this time.
0 commit comments