Changed embedded example cache directory name to be more specific.
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@556662 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/Activator.java b/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/Activator.java
index 8fae5d9..3e8f3e1 100644
--- a/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/Activator.java
+++ b/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/Activator.java
@@ -135,7 +135,7 @@
{
// Create a temporary bundle cache directory and
// make sure to clean it up on exit.
- final File cachedir = File.createTempFile("felix.example", null);
+ final File cachedir = File.createTempFile("felix.example.servicebased", null);
cachedir.delete();
Runtime.getRuntime().addShutdownHook(new Thread() {
public void run()
@@ -194,4 +194,4 @@
}
file.delete();
}
-}
\ No newline at end of file
+}
diff --git a/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/service/SimpleShape.java b/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/service/SimpleShape.java
index c1a9b78..72c82af 100644
--- a/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/service/SimpleShape.java
+++ b/examples/servicebased.host/src/main/java/org/apache/felix/example/servicebased/host/service/SimpleShape.java
@@ -27,7 +27,7 @@
* <ul>
* <li>simple.shape.name - A <tt>String</tt> name for the shape.
* </li>
- * <li>simple.shape.icon - A <tt>Icon</tt> for the shape.
+ * <li>simple.shape.icon - An <tt>Icon</tt> for the shape.
* </li>
* </ul>
**/
@@ -48,4 +48,4 @@
* @param p The position to paint the triangle.
**/
public void draw(Graphics2D g2, Point p);
-}
\ No newline at end of file
+}