Changeset 13790


Ignore:
Timestamp:
Oct 21, 2019 4:04:05 PM (3 weeks ago)
Author:
molsson
Message:

#5861 Fixed two warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/ModelicaFrontEnd/src/java/org/jmodelica/common/evaluation/ExternalProcessCacheImpl.java

    r13719 r13790  
    55import java.io.PrintStream;
    66import java.util.ArrayList;
     7import java.util.Arrays;
     8import java.util.Collection;
    79import java.util.HashMap;
    810import java.util.HashSet;
     
    8082    }
    8183   
    82     private static ArrayList<String> builtinExternalFunctions = new ArrayList<String>() {{
    83         add("ModelicaStrings_substring");
    84         add("ModelicaStrings_length");
    85         add("ModelicaStrings_skipWhiteSpace");
    86         add("ModelicaStrings_compare");
    87     }};
    88    
    89     private static ArrayList<String> supportedSignatures = new ArrayList<String>() {{
    90         add("d+d,d,");
    91         add("d+i,");
    92         add("d+i,d,d,");
    93         add("s+s,i,i,");
    94         add("i+s,");
    95         add("i+s,i,");
    96         add("i+s,s,i,");
    97         add("i+i,i,");
    98         add("void+i,d,d,*R[d,d,d,d,d,d,d,d,d,d,d,],");
    99         add("void+d,d,*d,");
    100     }};
     84    private static Collection<String> builtinExternalFunctions = Arrays.asList(
     85        "ModelicaStrings_substring",
     86        "ModelicaStrings_length",
     87        "ModelicaStrings_skipWhiteSpace",
     88        "ModelicaStrings_compare"
     89    );
     90   
     91    private static Collection<String> supportedSignatures = Arrays.asList(
     92        "d+d,d,",
     93        "d+i,",
     94        "d+i,d,d,",
     95        "s+s,i,i,",
     96        "i+s,",
     97        "i+s,i,",
     98        "i+s,s,i,",
     99        "i+i,i,",
     100        "void+i,d,d,*R[d,d,d,d,d,d,d,d,d,d,d,],",
     101        "void+d,d,*d,"
     102    );
    101103   
    102104    public boolean canUseEvaluator(E ext, ArrayList<String> arguments) {
Note: See TracChangeset for help on using the changeset viewer.