Skip to content

Commit

Permalink
Improve log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Dec 12, 2021
1 parent 6760f2a commit 2425b62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public void unlock()
Deque<Integer> steps = threadPerms.get();
if ( steps.isEmpty() )
{
throw new IllegalStateException( "Wrong API usage: unlock w/o lock" );
throw new IllegalStateException( "Wrong API usage: unlock without lock" );
}
int step = steps.pop();
if ( step > NONE )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public void unlock()
Deque<Step> steps = threadSteps.get();
if ( steps.isEmpty() )
{
throw new IllegalStateException( "Wrong API usage: unlock w/o lock" );
throw new IllegalStateException( "Wrong API usage: unlock without lock" );
}
Step step = steps.pop();
if ( Step.SHARED == step )
Expand Down

0 comments on commit 2425b62

Please sign in to comment.