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
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import java.nio.file.Files;
import java.nio.file.Path;

@SuppressWarnings("java:S106") // CLI command: stdout is the intended output channel
final class CountCommand {

private CountCommand() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.util.Arrays;
import java.util.List;

@SuppressWarnings("java:S106") // CLI command: stdout is the intended output channel
final class FilterCommand {

private FilterCommand() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import java.nio.file.Files;
import java.nio.file.Path;

@SuppressWarnings("java:S106") // CLI command: stdout is the intended output channel
final class InspectCommand {

private InspectCommand() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.util.List;
import java.util.Locale;

@SuppressWarnings("java:S106") // CLI command: stdout is the intended output channel
final class SchemaCommand {

private SchemaCommand() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.Arrays;
import java.util.List;

@SuppressWarnings("java:S106") // CLI command: stdout is the intended output channel
final class SelectCommand {

private SelectCommand() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.util.List;
import java.util.Map;

@SuppressWarnings("java:S106") // CLI command: stdout is the intended output channel
final class StatsCommand {

private StatsCommand() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import java.io.PrintStream;
import java.util.Optional;

@SuppressWarnings("java:S106") // CLI command: stdout is the intended output channel
final class TuiCommand {

private TuiCommand() {
Expand Down
1 change: 1 addition & 0 deletions cli/src/main/java/io/github/dfa1/vortex/cli/VortexCli.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
/// Entry point for the Vortex command-line tool.
///
/// Exit codes: see [ExitStatus].
@SuppressWarnings("java:S106") // CLI entry point: stdout is the intended output channel
public final class VortexCli {

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
/// On entry: saves the original `termios`, switches to alt screen, hides
/// the cursor. On [#close()]: restores everything, even on exceptions, via a
/// shutdown hook that fires if the caller skips try-with-resources.
@SuppressWarnings("java:S106") // terminal driver: writes control sequences straight to stdout
public final class PosixTerminal implements Terminal {

private static final int STDIN_FD = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
///
/// `GetConsoleScreenBufferInfo` drives [#size()]; we report the visible
/// window rect, not the scrollback buffer.
@SuppressWarnings("java:S106") // terminal driver: writes control sequences straight to stdout
public final class WindowsTerminal implements Terminal {

private static final long STD_INPUT_HANDLE = -10L;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/// CLI entry for the build-time `.proto` to Java code generator.
/// Invoked from the `regenerate-sources` Maven profile via `exec-maven-plugin`.
@SuppressWarnings("java:S106") // build-time code-gen CLI: progress goes to stdout
public final class Main {

private Main() {
Expand Down