Skip to content
This repository was archived by the owner on Oct 7, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
java-version: 17
- name: Build and Verify
run: mvn clean verify
- name: Check formatting
run: mvn spotless:check
- name: Publish Nightly Update Site
if: github.event_name != 'release' && github.ref == 'refs/heads/main' && github.repository_owner == 'DataFlowAnalysis'
uses: peaceiris/actions-gh-pages@v4
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package org.dataflowanalysis.examplemodels;

import com.google.common.collect.ImmutableMap;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.google.common.collect.ImmutableMap;

public class TuhhModels {

private static final Map<String, List<Integer>> TUHH_MODELS = ImmutableMap.<String, List<Integer>>builder()
.put("anilallewar", List.of(0, 6, 7, 8, 9, 11, 12, 18))
.put("apssouza22", List.of(0, 2, 4, 6, 7, 8, 12, 18))
Expand All @@ -26,13 +25,13 @@ public class TuhhModels {
.put("sqshq", List.of(0, 6, 7, 8, 9, 10, 11, 12, 18))
.put("yidongnan", List.of(0, 2, 3, 4, 5, 6, 7, 8, 9, 18))
.build();

/**
* Returns a deep copy of the {@code TUHH_MODELS} map.
*/
public static Map<String, List<Integer>> getTuhhModels() {
Map<String, List<Integer>> deepCopy = new HashMap<>();

for (var entry : TUHH_MODELS.entrySet()) {
deepCopy.put(entry.getKey(), new ArrayList<>(entry.getValue()));
}
Expand Down
Loading