From a1691cf42f482c57167eaa31189796cd70605d83 Mon Sep 17 00:00:00 2001 From: Philip Zoio Date: Wed, 19 Aug 2020 12:25:51 +0100 Subject: [PATCH] Issue #17: surrounding if condition with curly braces. --- .../servlet/wrapper/session/StateProtectingHttpSession.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/impala/impala-web/src/org/impalaframework/web/servlet/wrapper/session/StateProtectingHttpSession.java b/impala/impala-web/src/org/impalaframework/web/servlet/wrapper/session/StateProtectingHttpSession.java index ee0676384..255723299 100644 --- a/impala/impala-web/src/org/impalaframework/web/servlet/wrapper/session/StateProtectingHttpSession.java +++ b/impala/impala-web/src/org/impalaframework/web/servlet/wrapper/session/StateProtectingHttpSession.java @@ -73,8 +73,9 @@ public Object getAttribute(String name) { Object attribute = super.getAttribute(name); - if (attribute == null) + if (attribute == null) { return null; + } ClassLoader attributeClassLoader = attribute.getClass().getClassLoader();