mirror of
https://github.com/apache/jclouds.git
synced 2025-02-07 18:49:52 +00:00
67b3f78838
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