Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

Commit

Permalink
Making nested class static.
Browse files Browse the repository at this point in the history
This class is very frequently used and instantiated,
but there is no need to have it non-static. Having is
static is "cheaper",
  • Loading branch information
cstamas committed Nov 22, 2012
1 parent 5fc3b73 commit 86ef139
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -66,7 +66,7 @@ public InputStream getContent()

// ==

private class ReadLockingInputStream
private static class ReadLockingInputStream
extends WrappingInputStream
{
private volatile RepositoryItemUidLock lock;
Expand Down

0 comments on commit 86ef139

Please sign in to comment.