netty5/common/src
墨睿 be3e6972a1 Add a test case to check sub strings' AsciiString hash code
Motivation:

AsciiString.hashCode(o) , if "o" is a subString, the hash code is not always same, when netty’s version is 4.1.1.Final and jdk’s version is 1.6.

Modifications:

Use a test to assert hash codes are equal between a new string and any sub string (a part of  a char array),If their values are equal.

Result:

Create a test method to AsciiStringCharacterTest.
2016-07-04 07:19:52 +02:00
..
main Remove unneeded calls to hasScheduledTasks() when fetching from scheduled task queue for event executors. 2016-07-01 17:16:58 +02:00
test Add a test case to check sub strings' AsciiString hash code 2016-07-04 07:19:52 +02:00