Skip to content

Commit 62bfe8c

Browse files
committed
v1.14-0
1 parent 4aa6cc0 commit 62bfe8c

4 files changed

Lines changed: 5 additions & 746 deletions

File tree

src/main/java/org/funz/Cast3m/Cast3mIOPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
import java.util.Map;
2323
import java.util.Map.Entry;
2424

25+
import javax.net.ssl.SSLKeyException;
26+
2527
import org.funz.ioplugin.ExtendedIOPlugin;
2628
import org.funz.log.Log;
2729
import org.funz.parameter.OutputFunctionExpression;
@@ -113,7 +115,6 @@ public void setInputFiles(final File... inputfiles) {
113115

114116
// Look for 'TABLE'
115117
final List<String> vars = new ArrayList<>(DGibiHelper.filterTable(lines, variable));
116-
117118
if (vars.isEmpty()) {
118119
// Look for columns defined with 'EVOL MANU'
119120
vars.addAll(DGibiHelper.filterEvolManu(lines, variable));
@@ -140,7 +141,6 @@ public void setInputFiles(final File... inputfiles) {
140141
for (final Entry<String, String> entry : excel1Vars.entrySet()) {
141142
this._output.put(entry.getKey(), DGibiHelper.FILE_OUTPUT_PREFIX + entry.getValue());
142143
}
143-
144144
}
145145
}
146146

src/main/java/org/funz/Cast3m/Cast3mIOPlugin.sync-conflict-20210924-122604-CW72HYO.java

Lines changed: 0 additions & 281 deletions
This file was deleted.

src/main/java/org/funz/Cast3m/DGibiHelper.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ class DGibiHelper {
5959

6060
private static final Pattern OPTI_SORT_PATTERN = DGibiHelper.compile("\\s*opti\\s+sort\\s+'([\\w\\.]+)'\\s*;");
6161

62-
private static final Pattern SORT_EXCE_PATTERN = DGibiHelper.compile("sort\\s+'exce(?:l)?'\\s+([\\w_]*);");
62+
private static final Pattern SORT_EXCE_PATTERN = DGibiHelper.compile("sort\\s+'*exce(?:l)?'*\\s+([\\w_]*);");
6363

64-
private static final Pattern SORT_CHAI_PATTERN = DGibiHelper.compile("sort\\s+'chai(?:ne)?'\\s+([\\w_]*);");
64+
private static final Pattern SORT_CHAI_PATTERN = DGibiHelper.compile("sort\\s+'*chai(?:ne)?'*\\s+([\\w_]*);");
6565

6666
/**
6767
* @param path
@@ -192,7 +192,7 @@ private static Map<String, String> filterOptiSort(final List<String> lines, fina
192192
final int nextIndex = lines.indexOf(line) + 1;
193193

194194
// look for
195-
final Matcher optiMatcher = DGibiHelper.OPTI_SORT_PATTERN.matcher(line);
195+
final Matcher optiMatcher = DGibiHelper.OPTI_SORT_PATTERN.matcher(line.toLowerCase());
196196
// this file is interesting! look the next line
197197
if (optiMatcher.find() && (nextIndex < lines.size())) {
198198
final String filename = optiMatcher.group(1);

0 commit comments

Comments
 (0)