Skip to content

Commit 2741eda

Browse files
committed
refactoring update method
1 parent 4fd2434 commit 2741eda

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

quickfixj-stress-test/src/main/java/quickfix/MemoryStoreStressTest.java

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -126,19 +126,11 @@ public void incrementTargetSequence() {
126126
}
127127

128128
public int getSenderSequence() {
129-
try {
130-
return store.getNextSenderMsgSeqNum();
131-
} catch (IOException e) {
132-
throw new RuntimeException(e);
133-
}
129+
return store.getNextSenderMsgSeqNum();
134130
}
135131

136132
public int getTargetSequence() {
137-
try {
138-
return store.getNextTargetMsgSeqNum();
139-
} catch (IOException e) {
140-
throw new RuntimeException(e);
141-
}
133+
return store.getNextTargetMsgSeqNum();
142134
}
143135
}
144136
}

0 commit comments

Comments
 (0)