commit | 954c2f579e0d8ebc47e47d2aaaf71c43949542fc | [log] [tgz] |
---|---|---|
author | Pierre De Rop <pderop@apache.org> | Wed Jan 20 23:13:14 2010 +0000 |
committer | Pierre De Rop <pderop@apache.org> | Wed Jan 20 23:13:14 2010 +0000 |
tree | afb03df5e50d559649903a03437e22114306b917 | |
parent | d9ecf4f81f8294d5d625bed912f5a893785e13f6 [diff] |
fixed javadoc git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@901427 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/TemporalServiceDependency.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/TemporalServiceDependency.java index 2d0c42d..0626e21 100644 --- a/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/TemporalServiceDependency.java +++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/dependencies/TemporalServiceDependency.java
@@ -35,9 +35,9 @@ * public void init(BundleContext ctx, DependencyManager dm) throws Exception { * dm.add(createService() * .setImplementation(MyServer.class) -* .add(createTemporalServiceDependency() -* .setService(MyDependency.class) -* .setTimeout(15000))); +* .add(createTemporalServiceDependency() +* .setTimeout(15000) +* .setService(MyDependency.class))); * } * * public void destroy(BundleContext ctx, DependencyManager dm) throws Exception { @@ -53,7 +53,7 @@ * public void run() { * try { * _dependency.doWork(); -* } catch (ServiceUnavailableException e) { +* } catch (IllegalStateException e) { * t.printStackTrace(); * } * }