Skip to content

Commit

Permalink
Narrowed structural differences between AOP and Architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Paulsen committed Nov 26, 2024
1 parent 3150e2a commit 26b18a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class JavaArchitectureTestCase implements ArchitectureSecurityTestCase {
//</editor-fold>

//<editor-fold desc="Constructor">
public JavaArchitectureTestCase(JavaArchitecturalTestCaseSupported javaArchitectureTestCaseSupported, boolean longErrorActive, JavaClasses javaClasses, CallGraph callGraph, Set<SecurityPolicy.PackagePermission> allowedPackages) {
public JavaArchitectureTestCase(@Nonnull JavaArchitecturalTestCaseSupported javaArchitectureTestCaseSupported, boolean longErrorActive, @Nonnull JavaClasses javaClasses, @Nullable CallGraph callGraph, @Nullable Set<SecurityPolicy.PackagePermission> allowedPackages) {
this.javaArchitectureTestCaseSupported = javaArchitectureTestCaseSupported;
this.javaClasses = javaClasses;
this.callGraph = callGraph;
Expand All @@ -49,7 +49,7 @@ public String writeArchitectureTestCase(@Nonnull String architectureMode) {

//<editor-fold desc="Execute architecture test case methods">
@Override
public void executeArchitectureTestCase(JavaArchitectureMode architectureMode) {
public void executeArchitectureTestCase(@Nonnull JavaArchitectureMode architectureMode) {
// TODO: Add some checks for the modes and the needs e.g. (CallGraph not null for WALA)
switch (architectureMode) {
case WALA -> JavaWalaSecurityTestCase.builder()
Expand Down

0 comments on commit 26b18a5

Please sign in to comment.