diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-10-16 11:54:38 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-10-16 11:54:38 +0200 |
commit | 1d5796b23015bb0052cf3096acdd8e06547dcc0f (patch) | |
tree | 2d385af07f2c9559596536f9e1cc1360644c0479 /container-core | |
parent | 3bc795f90c342de3d0be5ad5aa51897722acc3f2 (diff) |
Avoid deprecated classes
Diffstat (limited to 'container-core')
-rw-r--r-- | container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java b/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java index 7907bb27a6d..63cce619333 100644 --- a/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java +++ b/container-core/src/main/java/com/yahoo/processing/rendering/AsynchronousSectionedRenderer.java @@ -218,7 +218,7 @@ public abstract class AsynchronousSectionedRenderer<RESPONSE extends Response> e public final ListenableFuture<Boolean> renderBeforeHandover(OutputStream stream, RESPONSE response, Execution execution, Request request) { beforeHandoverMode = true; - if (!isInitialized) throw new IllegalStateException("render() invoked before init()."); + if ( ! isInitialized) throw new IllegalStateException("render() invoked before init()."); return startRender(stream, response, execution, request); } |