MCPcopy Create free account
hub / github.com/Ape1ron/SpringAopInDeserializationDemo1 / getDefaultTestCmd

Method getDefaultTestCmd

src/main/java/Util.java:10–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8public class Util {
9
10 public static String getDefaultTestCmd(){
11 String osName = System.getProperty("os.name");
12 if (osName.startsWith("Mac")) {
13 return "open /System/Applications/Calculator.app";
14 }
15 return "calc";
16 }
17
18 public static void writeObj2File(Object obj,String path) throws IOException {
19 System.out.println("set obj to "+ path);

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected