File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/test/java/unquietcode/tools/flapi/examples Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ public void basicUsage() {
6363
6464 public static class Result extends AtomicReference <BigInteger > { }
6565
66- static CalculationBuilder .Start <Void > begin (int startingValue ) {
67- CalculatorBuilder .Start < Void > begin = CalculatorGenerator .begin (new CalculatorHelperImpl ());
68- CalculationBuilder .Start <Void > start = begin .$ (startingValue );
66+ static CalculationBuilder .Head <Void > begin (int startingValue ) {
67+ CalculatorBuilder .Start begin = CalculatorGenerator .begin (new CalculatorHelperImpl ());
68+ CalculationBuilder .Head <Void > start = begin .$ (startingValue );
6969
7070 return start ;
7171 }
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public Descriptor descriptor() {
4949
5050 @ Test
5151 public void usage () {
52- HouseBuilder .Start < Void > houseBuilder = HouseGenerator .create (new HouseHelperImpl ());
52+ HouseBuilder .Start houseBuilder = HouseGenerator .create (new HouseHelperImpl ());
5353
5454 Wall wall1 = houseBuilder .addWall ()
5555 .setWidth (120.35 )
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ public void usage() {
9393 }
9494 }
9595
96- ProcessBuilder .Start < Void > newProcess () {
96+ ProcessBuilder .Start newProcess () {
9797 return ProcessGenerator .begin (new ProcessHelperImpl ());
9898 }
9999}
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public void usage() {
8484 @ Test
8585 public void dividedUsage () {
8686 Document doc ;
87- ElementBuilder .Start <XHTMLBuilder .Start <Void >> movies = XHTMLGenerator .createDocument (new XHTMLHelperImpl ())
87+ ElementBuilder .Head <XHTMLBuilder .Head <Void >> movies = XHTMLGenerator .createDocument (new XHTMLHelperImpl ())
8888 .addComment ("This is a list of movies in my library." )
8989 .startElement ("movies" );
9090
You can’t perform that action at this time.
0 commit comments