-
-
Notifications
You must be signed in to change notification settings - Fork 26.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolved issue #1323 Two-Step View pattern #3106
base: master
Are you sure you want to change the base?
Conversation
Quality Gate passedIssues Measures |
@iluwatar may you review this PR ? |
Dear @iluwatar may you check my PR? |
This is a gentle follow up. |
@@ -0,0 +1,79 @@ | |||
# Book Data Processing and Presentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
README.md
has a very specific format that needs to be implemented by all the pattern examples. See here: https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute
<properties> | ||
<maven.compiler.source>17</maven.compiler.source> | ||
<maven.compiler.target>17</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comes already from parent pom.xml
<artifactId>junit</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
</dependencies> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add maven-assembly-plugin to allow executing the jar from the command line. See the other patterns for examples.
|
||
import java.util.logging.Logger; | ||
|
||
/** Main class. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here, above the App
class, explain the pattern and describe how this example implements it.
// Convert raw book data into a structured format | ||
BookStore preparedData = DataPreparation.prepareBook(book); | ||
|
||
String htmlOutput = Presentation.presentBook(preparedData); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment
Thank you for your review. I am in the midst of final exams right now. May I work on it next week? |
Sure, no problem. Good luck with the exams 😄 |
created a two-step view design pattern for more details check the read-me file
close issue #1323