File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
step-builder/src/main/java/com/iluwatar/stepbuilder Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -835,6 +835,7 @@ Java-design-patterns project uses [semantic versioning](http://semver.org/) sche
835835* [ Patterns of Enterprise Application Architecture] ( http://www.amazon.com/Patterns-Enterprise-Application-Architecture-Martin/dp/0321127420 )
836836* [ Spring Data] ( http://www.amazon.com/Spring-Data-Mark-Pollack/dp/1449323952/ref=sr_1_1 )
837837* [ J2EE Design Patterns] ( http://www.amazon.com/J2EE-Design-Patterns-William-Crawford/dp/0596004273/ref=sr_1_2 )
838+ * [ Marco Castigliego - Step Builder] ( http://rdafbn.blogspot.co.uk/2012/07/step-builder-pattern_28.html )
838839
839840
840841
Original file line number Diff line number Diff line change @@ -71,9 +71,9 @@ public String toString() {
7171 StringBuilder sb = new StringBuilder ();
7272 sb .append ("This is a " );
7373 sb .append (fighterClass != null ? fighterClass : wizardClass );
74- sb .append (" named a " );
74+ sb .append (" named " );
7575 sb .append (name );
76- sb .append (" armed " );
76+ sb .append (" armed with a " );
7777 sb .append (weapon != null ? weapon : spell != null ? spell : "with nothing" );
7878 sb .append (abilities != null ? (" and wielding " + abilities + " abilities" ) : "" );
7979 sb .append ("." );
You can’t perform that action at this time.
0 commit comments