Skip to content

Commit 5180ea6

Browse files
Update src/test/java/org/javawebstack/orm/test/UpdateOnlyIfIsDirtyTest.java
Co-authored-by: Timothy Gillespie <Timothy.Gillespie@outlook.de>
1 parent 85b5b03 commit 5180ea6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/org/javawebstack/orm/test/UpdateOnlyIfIsDirtyTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public class UpdateOnlyIfIsDirtyTest extends ORMTestCase {
1313

1414
@Test
1515
public void testOnlyUpdateIfIsDirty() throws ORMConfigurationException {
16+
// Using an array to make force mutability inside lamda expression
1617
boolean[] updated = new boolean[1];
1718
QueryLogger logger = (query, parameters) -> {
1819
if(query.startsWith("UPDATE"))

0 commit comments

Comments
 (0)