Browse files

Making nested class static.

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 86ef139a01a8557af2453ee121d385dca3c68dff
@@ -66,7 +66,7 @@ public InputStream getContent()
// ==
- private class ReadLockingInputStream
+ private static class ReadLockingInputStream
extends WrappingInputStream
private volatile RepositoryItemUidLock lock;

0 comments on commit 86ef139

Please sign in to comment.