1 | package com.github.dakusui.java8.template; | |
2 | ||
3 | /** | |
4 | * An entry-point class of Java8 Template. | |
5 | */ | |
6 | public class Java8App { | |
7 | /** | |
8 | * This is an entry-point class of the Java 8 example project. | |
9 | * | |
10 | * [ditaa] | |
11 | * .Ditaa diagram example | |
12 | * ---- | |
13 | * +--------+ +-------+ +-------+ | |
14 | * | +---+ ditaa +--> | | | |
15 | * | Text | +-------+ |diagram| | |
16 | * |Document| |!magic!| | | | |
17 | * | {d}| | | | | | |
18 | * +---+----+ +-------+ +-------+ | |
19 | * : ^ | |
20 | * | Lots of work | | |
21 | * +-------------------------+ | |
22 | * ---- | |
23 | * | |
24 | * Have fun! | |
25 | * | |
26 | * @param args Arguments passed through the command line. | |
27 | */ | |
28 | public static void main(String... args) { | |
29 | Java8App app = new Java8App(); | |
30 | for (String i: args) | |
31 |
1
1. main : removed call to java/io/PrintStream::println → SURVIVED |
System.out.println(app.process(i)); |
32 | } | |
33 | | |
34 | public String process(String s) { | |
35 |
1
1. process : replaced return value with "" for com/github/dakusui/java8/template/Java8App::process → KILLED |
return "processed:" + s; |
36 | } | |
37 | } | |
Mutations | ||
31 |
1.1 |
|
35 |
1.1 |