mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 22:59:11 +00:00
Resolves checkstyle errors for facade factory-kit spatial-partition state step-builder (#1077)
* Reduces checkstyle errors in facade * Reduces checkstyle errors in factory-kit * Reduces checkstyle errors in spatial-partition * Reduces checkstyle errors in state * Reduces checkstyle errors in step-builder
This commit is contained in:
committed by
Ilkka Seppälä
parent
2628cc0dfc
commit
c954a436ad
@@ -29,15 +29,13 @@ import org.slf4j.LoggerFactory;
|
||||
/**
|
||||
* Step Builder Pattern
|
||||
*
|
||||
* <p>
|
||||
* <b>Intent</b> <br>
|
||||
* <p><b>Intent</b> <br>
|
||||
* An extension of the Builder pattern that fully guides the user through the creation of the object
|
||||
* with no chances of confusion. <br>
|
||||
* The user experience will be much more improved by the fact that he will only see the next step
|
||||
* methods available, NO build method until is the right time to build the object.
|
||||
* with no chances of confusion. <br> The user experience will be much more improved by the fact
|
||||
* that he will only see the next step methods available, NO build method until is the right time to
|
||||
* build the object.
|
||||
*
|
||||
* <p>
|
||||
* <b>Implementation</b> <br>
|
||||
* <p><b>Implementation</b> <br>
|
||||
* The concept is simple:
|
||||
* <ul>
|
||||
*
|
||||
@@ -49,13 +47,13 @@ import org.slf4j.LoggerFactory;
|
||||
* <li>Last step is the BuildStep, in charge of creating the object you need to build.</li>
|
||||
* </ul>
|
||||
*
|
||||
* <p>
|
||||
* <b>Applicability</b> <br>
|
||||
* <p><b>Applicability</b> <br>
|
||||
* Use the Step Builder pattern when the algorithm for creating a complex object should be
|
||||
* independent of the parts that make up the object and how they're assembled the construction
|
||||
* process must allow different representations for the object that's constructed when in the
|
||||
* process of constructing the order is important.
|
||||
* <p>
|
||||
* <br>
|
||||
*
|
||||
* @see <a href="http://rdafbn.blogspot.co.uk/2012/07/step-builder-pattern_28.html">http://rdafbn.blogspot.co.uk/2012/07/step-builder-pattern_28.html</a>
|
||||
*/
|
||||
public class App {
|
||||
@@ -63,8 +61,8 @@ public class App {
|
||||
private static final Logger LOGGER = LoggerFactory.getLogger(App.class);
|
||||
|
||||
/**
|
||||
* Program entry point
|
||||
*
|
||||
* Program entry point.
|
||||
*
|
||||
* @param args command line args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
|
||||
Reference in New Issue
Block a user