equal
deleted
inserted
replaced
67 .map(s -> new ImportInfo("import " + s + ";", "", s)) |
67 .map(s -> new ImportInfo("import " + s + ";", "", s)) |
68 .collect(toList()); |
68 .collect(toList()); |
69 final static List<MethodInfo> START_UP_METHODS = Stream.of( |
69 final static List<MethodInfo> START_UP_METHODS = Stream.of( |
70 new MethodInfo("void printf(String format, Object... args) { System.out.printf(format, args); }", |
70 new MethodInfo("void printf(String format, Object... args) { System.out.printf(format, args); }", |
71 "(String,Object...)void", "printf")) |
71 "(String,Object...)void", "printf")) |
|
72 .collect(toList()); |
|
73 final static List<String> START_UP_CMD_METHOD = Stream.of( |
|
74 "| printf (String,Object...)void") |
72 .collect(toList()); |
75 .collect(toList()); |
73 final static List<String> START_UP = Collections.unmodifiableList( |
76 final static List<String> START_UP = Collections.unmodifiableList( |
74 Stream.concat(START_UP_IMPORTS.stream(), START_UP_METHODS.stream()) |
77 Stream.concat(START_UP_IMPORTS.stream(), START_UP_METHODS.stream()) |
75 .map(s -> s.getSource()) |
78 .map(s -> s.getSource()) |
76 .collect(toList())); |
79 .collect(toList())); |