Skip to content

Commit 8879cfe

Browse files
committed
add missing braces
1 parent 97e12c9 commit 8879cfe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/org/opensolaris/opengrok/authorization/AuthorizationFramework.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,9 @@ private void increasePluginVersion() {
688688
private boolean isSessionInvalid(HttpSession session) {
689689
long version;
690690

691-
if (session.getAttribute(SESSION_VERSION) == null)
691+
if (session.getAttribute(SESSION_VERSION) == null) {
692692
return true;
693+
}
693694

694695
version = (long) session.getAttribute(SESSION_VERSION);
695696
return version != getPluginVersion();

0 commit comments

Comments
 (0)