Skip to content
Permalink
Browse files
BATCHEE-47 patch from Michael Edgar, wrong logic in TransactionalWriter
  • Loading branch information
rmannibucau committed Jul 23, 2014
1 parent 0ae8e52 commit ee06d5cef2c619fafe904af76c690ba87f68ebdd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -106,7 +106,7 @@ public long position() {

private StringBuilder buffer() {
StringBuilder buffer = StringBuilder.class.cast(Synchronizations.get(bufferKey));
if (buffer != null) {
if (buffer == null) {
buffer = new StringBuilder();
Synchronizations.put(bufferKey, buffer);
Synchronizations.registerSynchronization(new SynchronizationService.OnCommit() {

0 comments on commit ee06d5c

Please sign in to comment.