summaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@yahoo-inc.com>2018-01-15 11:36:47 +0100
committerJon Bratseth <bratseth@yahoo-inc.com>2018-01-15 11:36:47 +0100
commitf3aaa08db00c9df1758fb1ab863ebba13ca043d3 (patch)
tree7c66b71ef6d77c54d2a756b720d02ce1a2f16e63 /jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java
parent6bca358e80a11455ee7ef387dfe5f50719460000 (diff)
Nonfunctional changes only
Diffstat (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java')
-rw-r--r--jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java b/jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java
index 02f8c85b940..f51891cada4 100644
--- a/jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java
+++ b/jdisc_core/src/main/java/com/yahoo/jdisc/core/OsgiLogService.java
@@ -4,7 +4,7 @@ package com.yahoo.jdisc.core;
import org.osgi.framework.*;
/**
- * @author <a href="mailto:simon@yahoo-inc.com">Simon Thoresen Hult</a>
+ * @author Simon Thoresen Hult
*/
class OsgiLogService {
@@ -38,22 +38,22 @@ class OsgiLogService {
return;
}
switch (event.getType()) {
- case ServiceEvent.REGISTERED:
- try {
- activator.start(ctx);
- } catch (Exception e) {
- throw new RuntimeException("Exception thrown while starting " +
- activator.getClass().getName() + ".", e);
- }
- break;
- case ServiceEvent.UNREGISTERING:
- try {
- activator.stop(ctx);
- } catch (Exception e) {
- throw new RuntimeException("Exception thrown while stopping " +
- activator.getClass().getName() + ".", e);
- }
- break;
+ case ServiceEvent.REGISTERED:
+ try {
+ activator.start(ctx);
+ } catch (Exception e) {
+ throw new RuntimeException("Exception thrown while starting " +
+ activator.getClass().getName() + ".", e);
+ }
+ break;
+ case ServiceEvent.UNREGISTERING:
+ try {
+ activator.stop(ctx);
+ } catch (Exception e) {
+ throw new RuntimeException("Exception thrown while stopping " +
+ activator.getClass().getName() + ".", e);
+ }
+ break;
}
}
}