Skip to content

Commit 7c46f08

Browse files
committed
move SESSION_VERSION to the top
1 parent b6008ab commit 7c46f08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ public final class AuthorizationFramework {
100100
private boolean loadClasses = true;
101101
private boolean loadJars = true;
102102

103+
// HTTP session attribute that holds plugin version
104+
private final static String SESSION_VERSION = "opengrok-authorization-session-version";
105+
103106
/**
104107
* Create a new instance of authorization framework with no plugin
105108
* directory and the default plugin stack.
@@ -674,9 +677,6 @@ private void increasePluginVersion() {
674677
this.pluginVersion++;
675678
}
676679

677-
// HTTP session attribute that holds plugin version
678-
private final static String SESSION_VERSION = "opengrok-authorization-session-version";
679-
680680
/**
681681
* Is this session marked as invalid?
682682
*

0 commit comments

Comments
 (0)