Changeset 13960


Ignore:
Timestamp:
Nov 5, 2019 5:31:05 PM (2 weeks ago)
Author:
jwedin
Message:

Changed so the template sets no longer are static. The memberSets field of the HomotopyContributor is now unmodifiable. #5865

Location:
branches/dev-jw-2590/Compiler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev-jw-2590/Compiler/ModelicaCompiler/src/jastadd/ModelicaCompiler.jrag

    r13900 r13960  
    24842484   
    24852485    private static ArrayList<TemplateContributor> CONTRIBUTORS;
    2486     private static LinkedHashSet<String> XML_TEMPLATES;
    2487     private static LinkedHashSet<String> C_HEADER_TEMPLATES;
    2488     private static LinkedHashSet<String> C_SOURCE_TEMPLATES;   
     2486    private LinkedHashSet<String> XML_TEMPLATES;
     2487    private LinkedHashSet<String> C_HEADER_TEMPLATES;
     2488    private LinkedHashSet<String> C_SOURCE_TEMPLATES;   
    24892489   
    24902490    public abstract static class TemplateContributor {
  • branches/dev-jw-2590/Compiler/ModelicaMiddleEnd/src/jastadd/structural/Graphs.jadd

    r13900 r13960  
    11391139    private static class HomotopyContributor extends SCCContributor {
    11401140       
    1141         private static final Collection<? extends Object> memberSets = Arrays.asList("homotopy");
     1141        private static final Collection<? extends Object> memberSets = Collections.unmodifiableList(Arrays.asList("homotopy"));
    11421142       
    11431143        @Override
Note: See TracChangeset for help on using the changeset viewer.