Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for requireNonNullElse (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java

            this(out, null);
        }
    
        public SystemLogger(@Nullable OutputStream out, @Nullable Level threshold) {
            this.out = new PrintWriter(toPsOrDef(out, System.err), true);
            this.threshold = Objects.requireNonNullElse(threshold, Level.INFO);
        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Feb 08 16:25:25 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top