Skip to content

Conversation

@besok
Copy link
Contributor

@besok besok commented Nov 9, 2019

Saga pattern

#438

Copy link
Owner

@iluwatar iluwatar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checkstyle with Google Checks also finds several issues that should be resolved.

@besok
Copy link
Contributor Author

besok commented Nov 10, 2019

Checkstyle with Google Checks also finds several issues that should be resolved.

Yes. I see a plugin now. Where can i get checkstyle,xml?
(have taken from prev commit from master)

@iluwatar
Copy link
Owner

Checkstyle with Google Checks also finds several issues that should be resolved.

Yes. I see a plugin now. Where can i get checkstyle,xml?
(have taken from prev commit from master)

It is the google_checks.xml that is built within Checkstyle. I think if you have installed the Checkstyle plugin to your IDE, it is one of the bundled styles. It's also possible to see the list of findings using the command line. Let me know if you need further help.

@besok
Copy link
Contributor Author

besok commented Nov 11, 2019

It is the google_checks.xml that is built within Checkstyle. I think if you have installed the Checkstyle plugin to your IDE, it is one of the bundled styles. It's also possible to see the list of findings using the command line. Let me know if you need further help.

I went to https://github.com/iluwatar/java-design-patterns/wiki/03.-Coding-conventions and installed the maven plugin and put checkstyle.xml taken from prev version - https://github.com/iluwatar/java-design-patterns/tree/1.21.0 and fixed all issues. Do I have anything to sort out?

@iluwatar
Copy link
Owner

Sorry, that wiki page was not up-to-date. I updated it now. If you really need the Checkstyle xml, you can find it at https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml.

Currently the code in this PR is properly formatted.

@besok besok requested a review from iluwatar November 12, 2019 09:53
@besok
Copy link
Contributor Author

besok commented Nov 12, 2019

Sorry, that wiki page was not up-to-date. I updated it now. If you really need the Checkstyle xml, you can find it at https://github.com/checkstyle/checkstyle/blob/master/src/main/resources/google_checks.xml.

Currently the code in this PR is properly formatted.

Thanks a million.
It seems i don't have anything to change now.
When you have time, please, have a look and give your comments, please.

@iluwatar
Copy link
Owner

I'm not sure you're doing the Checkstyle check correctly. For me it reports 82 items in 20 files. Which IDE are you using?

@besok
Copy link
Contributor Author

besok commented Nov 13, 2019

Ah, i did not check it with google_checks.xml i did it with Checkstyle.xml taken from https://github.com/iluwatar/java-design-patterns/tree/1.21.0.
Perhaps, they have a difference. I will correct it. Sorry for the misunderstanding.

@iluwatar
Copy link
Owner

Yes, they are quite different. Please comment when you've done the changes and I'll review.

@besok
Copy link
Contributor Author

besok commented Nov 13, 2019

Yes, they are quite different. Please comment when you've done the changes and I'll review.

It seems i have sorted all codestyle fixes

@iluwatar iluwatar added this to the 1.22.0 milestone Nov 14, 2019
@iluwatar iluwatar merged commit cc571f4 into iluwatar:master Nov 14, 2019
@iluwatar
Copy link
Owner

Well done @besok 👍 Many thanks for the new pattern!

@besok
Copy link
Contributor Author

besok commented Nov 14, 2019

Thanks, @iluwatar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants