diff options
Diffstat (limited to 'application/src')
-rw-r--r-- | application/src/main/java/com/yahoo/application/container/JDisc.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/application/src/main/java/com/yahoo/application/container/JDisc.java b/application/src/main/java/com/yahoo/application/container/JDisc.java index 5554ae6a159..45c7b66ac5e 100644 --- a/application/src/main/java/com/yahoo/application/container/JDisc.java +++ b/application/src/main/java/com/yahoo/application/container/JDisc.java @@ -37,6 +37,8 @@ public final class JDisc implements AutoCloseable { private final ClassLoaderOsgiFramework osgiFramework = new ClassLoaderOsgiFramework(); private final TestDriver testDriver; + + @SuppressWarnings("unused") private final StandaloneContainerApplication application; private final Container container = Container.get(); // TODO: This is indeed temporary ... *3 years later* Indeed. @@ -136,8 +138,7 @@ public final class JDisc implements AutoCloseable { .getComponent(ProcessingHandler.class.getName()); if (processingHandler == null) { - throw new UnsupportedOperationException("This JDisc does not have 'processing' " + - "configured."); + throw new UnsupportedOperationException("This JDisc does not have 'processing' configured."); } return new Processing(processingHandler); @@ -156,8 +157,7 @@ public final class JDisc implements AutoCloseable { .getComponent(DocumentProcessingHandler.class.getName()); if (docprocHandler == null) { - throw new UnsupportedOperationException("This JDisc does not have 'document-processing' " + - "configured."); + throw new UnsupportedOperationException("This JDisc does not have 'document-processing' configured."); } return new DocumentProcessing(docprocHandler); } |