mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Refactor - clean up docstore api mapping, diamond operator only
This commit is contained in:
@@ -18,9 +18,9 @@ public class DocMappingBuilder {
|
||||
|
||||
private final DocStore docStore;
|
||||
|
||||
private final Stack<DocPropertyMapping> properties = new Stack<DocPropertyMapping>();
|
||||
private final Stack<DocPropertyMapping> properties = new Stack<>();
|
||||
|
||||
private final Map<String,DocPropertyMapping> map = new LinkedHashMap<String,DocPropertyMapping>();
|
||||
private final Map<String,DocPropertyMapping> map = new LinkedHashMap<>();
|
||||
|
||||
/**
|
||||
* Create with the document structure paths and docStore deployment annotation.
|
||||
@@ -124,7 +124,7 @@ public class DocMappingBuilder {
|
||||
*/
|
||||
private static class SortableVisitor extends DocPropertyAdapter {
|
||||
|
||||
private Map<String,String> sortableMap = new LinkedHashMap<String, String>();
|
||||
private Map<String,String> sortableMap = new LinkedHashMap<>();
|
||||
|
||||
@Override
|
||||
public void visitProperty(DocPropertyMapping property) {
|
||||
|
||||
@@ -16,7 +16,7 @@ public class DocPropertyMapping {
|
||||
|
||||
private DocPropertyOptions options;
|
||||
|
||||
private List<DocPropertyMapping> children = new ArrayList<DocPropertyMapping>();
|
||||
private List<DocPropertyMapping> children = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* Construct ROOT.
|
||||
|
||||
Reference in New Issue
Block a user