Blame SOURCES/java7compatibility.patch

2b03e6
--- a/src/main/java/org/apache/felix/gogo/command/Inspect.java
2b03e6
+++ b/src/main/java/org/apache/felix/gogo/command/Inspect.java
2b03e6
@@ -102,7 +102,7 @@
2b03e6
             }
2b03e6
 
2b03e6
             // Print out any matching generic capabilities.
2b03e6
-            BundleWiring wiring = b.adapt(BundleWiring.class);
2b03e6
+            BundleWiring wiring = (BundleWiring) b.adapt(BundleWiring.class);
2b03e6
             if (wiring != null)
2b03e6
             {
2b03e6
                 String title = b + " provides:";
2b03e6
@@ -277,7 +277,7 @@
2b03e6
             }
2b03e6
 
2b03e6
             // Print out any matching generic requirements.
2b03e6
-            BundleWiring wiring = b.adapt(BundleWiring.class);
2b03e6
+            BundleWiring wiring = (BundleWiring) b.adapt(BundleWiring.class);
2b03e6
             if (wiring != null)
2b03e6
             {
2b03e6
                 String title = b + " requires:";