Apply patches for FELIX-3376 to adapt example to Java 5.


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1298008 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/extenderbased.circle/pom.xml b/examples/extenderbased.circle/pom.xml
index 44ead53..a9888e5 100644
--- a/examples/extenderbased.circle/pom.xml
+++ b/examples/extenderbased.circle/pom.xml
@@ -16,8 +16,8 @@
  specific language governing permissions and limitations
  under the License.
 -->
-<project>
-
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    
   <parent>
     <groupId>org.apache.felix</groupId>
     <artifactId>felix</artifactId>
@@ -61,6 +61,14 @@
           </instructions>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>
diff --git a/examples/extenderbased.circle/src/main/java/org/apache/felix/example/extenderbased/circle/Circle.java b/examples/extenderbased.circle/src/main/java/org/apache/felix/example/extenderbased/circle/Circle.java
index 6d5dc6a..ee24c61 100644
--- a/examples/extenderbased.circle/src/main/java/org/apache/felix/example/extenderbased/circle/Circle.java
+++ b/examples/extenderbased.circle/src/main/java/org/apache/felix/example/extenderbased/circle/Circle.java
@@ -23,9 +23,8 @@
 import java.awt.GradientPaint;
 import java.awt.Graphics2D;
 import java.awt.Point;
-import java.awt.geom.*;
+import java.awt.geom.Ellipse2D;
 import org.apache.felix.example.extenderbased.host.extension.SimpleShape;
-import org.osgi.framework.*;
 
 /**
  * This class implements the circle <tt>SimpleShape</tt> extension.