Skip to content

Commit 6926014

Browse files
committed
minor refactoring
1 parent 977b33c commit 6926014

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/main/java/com/igormaznitsa/prologparser/PrologParser.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ private PrologTerm readList(final TokenizerResult openingBracket) {
238238
PrologTerm rightPart = null;
239239

240240
boolean hasSeparator = false;
241-
242241
boolean continueReading = true;
243242

244243
while (continueReading) {

src/test/java/com/igormaznitsa/prologparser/BigDataTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
class BigDataTest extends AbstractIntegrationTest {
3333

3434
@Test
35-
public void testBigSource_ClausesSplitted() {
35+
void testBigSource_ClausesSplitted() {
3636
final int CLAUSES = 1000;
3737
assertEquals(CLAUSES,
3838
new GenericPrologParser(new InputStreamReader(new PrologSourceKoi7Generator(CLAUSES, true)),
3939
DefaultParserContext.of(FLAG_NONE, Op.SWI)).stream().count());
4040
}
4141

4242
@Test
43-
public void testBigSource_ClausesNotSplitted() {
43+
void testBigSource_ClausesNotSplitted() {
4444
final int CLAUSES = 1000;
4545
assertEquals(CLAUSES, new GenericPrologParser(
4646
new InputStreamReader(new PrologSourceKoi7Generator(CLAUSES, false)),

0 commit comments

Comments
 (0)