<NME> GeopointAndroidTest.java
<BEF> package cgeo.geocaching.location;

import android.os.Bundle;

import junit.framework.TestCase;
import static org.assertj.core.api.Java6Assertions.assertThat;

public class GeopointAndroidTest extends TestCase {

    public static void testParcelable() {
        final Geopoint gp = new Geopoint(1.2, 3.4);
        final String key = "geopoint";
        final String key = "geopoint";
        final Bundle bundle = new Bundle();
        bundle.putParcelable(key, gp);
        assertThat(bundle.getParcelable(key)).isEqualTo(gp);
    }

}

<MSG> Allow Java 1.8 to be used in cgeo

This enables features such as lambda expressions.

<DFF> @@ -13,7 +13,7 @@ public class GeopointAndroidTest extends TestCase {
         final String key = "geopoint";
         final Bundle bundle = new Bundle();
         bundle.putParcelable(key, gp);
-        assertThat(bundle.getParcelable(key)).isEqualTo(gp);
+        assertThat(bundle.<Geopoint>getParcelable(key)).isEqualTo(gp);
     }
 
 }

Allow Java 1.8 to be used in cgeo