Skip to content

Commit c33353b

Browse files
author
electricessence
authored
Fixed indentation
1 parent 804642a commit c33353b

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

source/Collection/ConcurrentQueueObjectPool.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ public sealed class ConcurrentQueueObjectPool<T> : TrimmableObjectPoolBase<T>
77
where T : class
88
{
99

10-
public ConcurrentQueueObjectPool(Func<T> factory, Action<T> recycler, int capacity = DEFAULT_CAPACITY)
11-
: base(factory, recycler, capacity)
12-
{
13-
Pool = new ConcurrentQueue<T>();
14-
}
10+
public ConcurrentQueueObjectPool(Func<T> factory, Action<T> recycler, int capacity = DEFAULT_CAPACITY)
11+
: base(factory, recycler, capacity)
12+
{
13+
Pool = new ConcurrentQueue<T>();
14+
}
1515

16-
public ConcurrentQueueObjectPool(Func<T> factory, int capacity = DEFAULT_CAPACITY)
17-
: this(factory, null, capacity)
18-
{
19-
20-
}
16+
public ConcurrentQueueObjectPool(Func<T> factory, int capacity = DEFAULT_CAPACITY)
17+
: this(factory, null, capacity)
18+
{
19+
20+
}
2121

22-
ConcurrentQueue<T> Pool;
22+
ConcurrentQueue<T> Pool;
2323

24-
public override int Count => Pool?.Count ?? 0;
24+
public override int Count => Pool?.Count ?? 0;
2525

2626
// For ConcurrentQueue disable using the Pocket. It's fast enough as it is...
2727
protected override bool SaveToPocket(T item)

0 commit comments

Comments
 (0)