Skip to content

Commit

Permalink
Remove MutableLong
Browse files Browse the repository at this point in the history
  • Loading branch information
ocoanet committed Mar 8, 2018
1 parent 29468ab commit 81920f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 23 deletions.
Expand Up @@ -36,7 +36,7 @@ public class OneToOneTranslatorThroughputTest : IThroughputTest
private readonly long _expectedResult = PerfTestUtil.AccumulatedAddition(_iterations);
private readonly ValueAdditionEventHandler _handler = new ValueAdditionEventHandler();
private readonly RingBuffer<ValueEvent> _ringBuffer;
private readonly MutableLong _value = new MutableLong(0);
private readonly MutableLong _value = new MutableLong();

public OneToOneTranslatorThroughputTest()
{
Expand Down Expand Up @@ -95,5 +95,10 @@ public void TranslateTo(ValueEvent @event, long sequence, MutableLong arg0)
@event.Value = arg0.Value;
}
}

private class MutableLong
{
public long Value { get; set; }
}
}
}
22 changes: 0 additions & 22 deletions src/Disruptor/MutableLong.cs

This file was deleted.

0 comments on commit 81920f8

Please sign in to comment.