jclouds/jclouds — pull request #951 by andrewgaul (2012-11-04 00:02:35+00:00)
Title: Implement Comparable in GoGrind ErrorResponse

Gson collects errors in a TreeMap which requires a well-behaved
Comparable method. This addresses a Java 7 GoGrid failure seen in
GridServerClientExpectTest.testGetServerCredentialsWhenNotFoundThrowsResourceNotFoundExceptionWithNiceMessage:

java.lang.ClassCastException: org.jclouds.gogrid.domain.internal.ErrorResponse cannot be cast to java.lang.Comparable