Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isDeprecated (0.06 sec)

  1. src/cmd/api/main_test.go

    		f := typ.Field(i)
    		if !f.Exported() {
    			continue
    		}
    		typ := f.Type()
    		if f.Anonymous() {
    			if w.isDeprecated(f) {
    				w.emitf("embedded %s //deprecated", w.typeString(typ))
    			}
    			w.emitf("embedded %s", w.typeString(typ))
    			continue
    		}
    		if w.isDeprecated(f) {
    			w.emitf("%s //deprecated", f.Name())
    		}
    		w.emitf("%s %s", f.Name(), w.typeString(typ))
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            }
    
            // check for presence of deprecated options and print warning
            boolean fail = false;
            for (Option option : cliRequest.commandLine.getOptions()) {
                if (option.isDeprecated()) {
                    StringBuilder sb = new StringBuilder();
                    sb.append("The option -").append(option.getOpt());
                    if (option.getLongOpt() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top