We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8879cfe commit 9f18e23Copy full SHA for 9f18e23
src/org/opensolaris/opengrok/authorization/AuthorizationFramework.java
@@ -686,13 +686,12 @@ private void increasePluginVersion() {
686
* @return true if it is; false otherwise
687
*/
688
private boolean isSessionInvalid(HttpSession session) {
689
- long version;
690
-
691
if (session.getAttribute(SESSION_VERSION) == null) {
692
return true;
693
}
694
695
- version = (long) session.getAttribute(SESSION_VERSION);
+ long version = (long) session.getAttribute(SESSION_VERSION);
+
696
return version != getPluginVersion();
697
698
0 commit comments