Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
usfalami committed Sep 26, 2024
1 parent 3da16c4 commit 1e2d84c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/usf/jquery/web/ContextManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public static ContextEnvironment currentContext() {
: new IllegalStateException("no database selected");
}

static ContextEnvironment context(String database){
public static ContextEnvironment context(String database){
var ctx = CONTEXTS.get(database);
if(nonNull(ctx)) {
return setCurrentContext(new ContextEnvironment(ctx));
Expand All @@ -66,7 +66,7 @@ static ContextEnvironment setCurrentContext(ContextEnvironment ctx) {
return ctx;
}

static void releaseContext() {
public static void releaseContext() {
CURRENT.remove();
}
}

0 comments on commit 1e2d84c

Please sign in to comment.