hamcrest/JavaHamcrest — pull request #46 by boretti (2014-02-25 20:41:31+00:00)
Title: Add a cleanup method to handle wrong conversion of type like java.util.Map.Entry

Outside of the code format, this change is related to the method :

private static String typeToString(Type type). The returned string, for the Type case, is passed thru a new cleanup method that correct wrong output with parameter of the type :
java.util.Map.Entry (without the fix, produce java.util.Map.java.util.Map$Entry) which is not valid in java.

The file use a regex to do the correction :
```java
private static String cleanup(String input) {
return input.replaceFirst("^(.+)\\.\\1\\$", "$1.");
}
```