Polish 6c5cb2b13d
* Move class Item as inner class of surrounding test * Update mongodb sample for item deletion use case
This commit is contained in:
@@ -350,15 +350,15 @@ public class MongoItemWriterTests {
|
||||
assertEquals(String.valueOf(i), results[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Item {
|
||||
Integer id;
|
||||
String name;
|
||||
public Item(Integer id){
|
||||
this.id = id;
|
||||
}
|
||||
public Item(String name) {
|
||||
this.name = name;
|
||||
static class Item {
|
||||
Integer id;
|
||||
String name;
|
||||
public Item(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
public Item(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -127,15 +127,15 @@ public class MongoItemWriterBuilderTests {
|
||||
iae.getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class Item {
|
||||
Integer id;
|
||||
String name;
|
||||
public Item(Integer id){
|
||||
this.id = id;
|
||||
}
|
||||
public Item(String name) {
|
||||
this.name = name;
|
||||
static class Item {
|
||||
Integer id;
|
||||
String name;
|
||||
public Item(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
public Item(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user