Skip to content
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
1 change: 1 addition & 0 deletions src/main/java/io/morin/archicode/cli/ArchiCode.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
description = "ArchiCode provides features to support architecture work with an as-code approach.",
subcommands = { ViewsGroup.class, QueryGroup.class }
)
@SuppressWarnings("java:S6813")
public class ArchiCode {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import picocli.CommandLine;

@Slf4j
@SuppressWarnings("java:S6813")
@CommandLine.Command(name = "generate", description = "Generate the views of the workspace.")
public class GenerateViewsCommand implements Runnable {

Expand Down Expand Up @@ -101,6 +102,7 @@ public class GenerateViewsCommand implements Runnable {
String viewPropertiesAsPath;

@Override
@SuppressWarnings("java:S3252")
public void run() {
Logger.getGlobal().setLevel(Level.INFO);

Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/morin/archicode/cli/GetSchemasQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

@Slf4j
@CommandLine.Command(name = "schemas", description = "Get JSON schemas related to the ArchiCode data model.")
@SuppressWarnings("java:S6813")
public class GetSchemasQuery implements Runnable {

@Inject
Expand Down
1 change: 1 addition & 0 deletions src/main/java/io/morin/archicode/cli/GetViewsQuery.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

@Slf4j
@CommandLine.Command(name = "views", description = "List and filter the views of the workspace.")
@SuppressWarnings("java:S6813")
public class GetViewsQuery implements Runnable {

@CommandLine.ParentCommand
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public void write(@NonNull String content, @NonNull PrintStream printStream) {
printStream.println(content);
}

@SuppressWarnings("java:S106")
public void write(@NonNull String content) {
write(content, System.out);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ String render(@NonNull Viewpoint viewpoint, @NonNull Item item) {

val compositeFormatter = viewpoint.getWorkspace().getFormatters().getComposite();

// rectangle <id> as "<label>\n<qualifiers>" <<stereotypes>> {
// <code>rectangle <id> as "<label>\n<qualifiers>" <<stereotypes>> {</code>
buf.append(shape.name().toLowerCase());
buf.append(" ");
buf.append(item.getItemId());
Expand Down
1 change: 1 addition & 0 deletions src/test/java/io/morin/archicode/ResourceFixtures.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import lombok.val;

@UtilityClass
@SuppressWarnings("java:S117")
public class ResourceFixtures {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.junit.jupiter.api.Test;

@QuarkusTest
@SuppressWarnings("java:S125")
class CustomRenderingTest {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

@Slf4j
@QuarkusTest
@SuppressWarnings("java:S117")
class QueryOutputWriterTest {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

@QuarkusTest
@Slf4j
@SuppressWarnings("java:S117")
class DeepViewpointFactoryTest {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

@QuarkusTest
@Slf4j
@SuppressWarnings("java:S117")
class MetaLinkFinderForEgressTest {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

@QuarkusTest
@Slf4j
@SuppressWarnings("java:S117")
class MetaLinkFinderForIngressTest {

@Inject
Expand Down