Skip to content

for issue: #584 #1251

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

Closed
wants to merge 1 commit into from
Closed

for issue: #584 #1251

wants to merge 1 commit into from

Conversation

LiHao-MS
Copy link

Pull request description
It.s seems the equal() method in the abstract class isn't designed properly and I make some change in these abstract classes and their subclasses.
for issue: #584

Pull request title

  • Clearly and concisely describes what it does
  • Refer to the issue that it solves, if available

Pull request description

  • Describes the main changes that come with the pull request
  • Any relevant additional information is provided

For detailed contributing instructions see https://github.com/iluwatar/java-design-patterns/wiki/01.-How-to-contribute

Pull request description
It.s seems the equal() method in the abstract class isn't designed properly and I make some change in these abstract classes and their subclasses.
for issue: iluwatar#584
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.

I agree that design-wise this change looks good since we have abstract base classes. However when you try to build it it gives some checkstyle errors that should be fixed.

[INFO] --- maven-checkstyle-plugin:3.1.0:check (validate) @ prototype ---
[WARNING] src/main/java/com/iluwatar/prototype/OrcMage.java:[57,13] (whitespace) WhitespaceAround: WhitespaceAround: '==' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)
[WARNING] src/main/java/com/iluwatar/prototype/OrcBeast.java:[57,13] (whitespace) WhitespaceAround: WhitespaceAround: '==' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)
[WARNING] src/main/java/com/iluwatar/prototype/ElfBeast.java:[57,13] (whitespace) WhitespaceAround: WhitespaceAround: '==' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)
[WARNING] src/main/java/com/iluwatar/prototype/OrcWarlord.java:[57,13] (whitespace) WhitespaceAround: WhitespaceAround: '==' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)
[WARNING] src/main/java/com/iluwatar/prototype/ElfWarlord.java:[57,13] (whitespace) WhitespaceAround: WhitespaceAround: '==' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)
[WARNING] src/main/java/com/iluwatar/prototype/ElfMage.java:[57,13] (whitespace) WhitespaceAround: WhitespaceAround: '==' is not followed by whitespace. Empty blocks may only be represented as {} when not part of a multi-block statement (4.1.3)

@iluwatar
Copy link
Owner

iluwatar commented Jul 4, 2020

Please find the review comments above. When you're ready for another review please comment on this issue. Thanks!

@iluwatar
Copy link
Owner

iluwatar commented Aug 3, 2020

@jasciiz The pull request has remained inactive and is about to be closed. Please comment if you're still working on it.

@iluwatar iluwatar added this to the 1.24.0 milestone Aug 29, 2020
@iluwatar
Copy link
Owner

Closed due to inactivity

@iluwatar iluwatar closed this Aug 29, 2020
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