Skip to content

Conversation

@oza
Copy link
Member

@oza oza commented May 4, 2014

This PR includes 2 fixes:

  1. Add TestImmutableValue for testing ImmutableValue.
  2. Fix compile error when mvn test. org.msgpack.core.Person has Message annotation, but v07 has not had the annotation. This causes compile error when we execute mvn test.

@oza oza added this to the v07 milestone May 4, 2014
Copy link
Member

Choose a reason for hiding this comment

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

Java guarantees that you can't override Enum#equals. You don't have to check whether expected is the only value in the valueTypes. Assertion can be assertTrue(ValueType.NIL == v.getType()).

Copy link
Member

Choose a reason for hiding this comment

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

Instead, you need to verify ValueType.isXxxType methods?

Copy link
Member Author

Choose a reason for hiding this comment

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

+1. I'll update PR soon.

frsyuki added a commit that referenced this pull request May 4, 2014
@frsyuki frsyuki merged commit d7e08b2 into msgpack:v07 May 4, 2014
@frsyuki
Copy link
Member

frsyuki commented May 4, 2014

Looks good first implementation 👍

@oza oza deleted the fix-test-and-add-testimmutablevalue branch May 4, 2014 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants