We're updating the issue view to help you get more done. 

JSR-352: Improve for-loop usage in tests

Description

AbstractBatchIndexingIT.java

1 2 3 for ( Company c : companies ) { em.persist( c ); }

The external iterator usage can be simplified by using internal iterator. Thus, one line is enough.

AbstractBatchIndexingIT.java

1 companies.forEach( em::persist );

Environment

None

Status

Assignee

Mincong Huang

Reporter

Mincong Huang

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Priority

Trivial