[Project] Moved everything to a sub directory
This commit is contained in:
parent
6659b90b83
commit
cc10f6f402
|
@ -149,7 +149,7 @@ public class MetadataDao {
|
||||||
throw new IllegalArgumentException(msg);
|
throw new IllegalArgumentException(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
Set<String> keySet = new HashSet<String>();
|
Set<String> keySet = new HashSet<>();
|
||||||
File[] subTypeFiles = queryPath.listFiles();
|
File[] subTypeFiles = queryPath.listFiles();
|
||||||
for (File subTypeFile : subTypeFiles) {
|
for (File subTypeFile : subTypeFiles) {
|
||||||
if (subTypeFile.isDirectory()) {
|
if (subTypeFile.isDirectory()) {
|
||||||
|
@ -179,7 +179,7 @@ public class MetadataDao {
|
||||||
throw new IllegalArgumentException(msg);
|
throw new IllegalArgumentException(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
Set<String> keySet = new HashSet<String>();
|
Set<String> keySet = new HashSet<>();
|
||||||
|
|
||||||
File[] subTypeFiles = queryPath.listFiles();
|
File[] subTypeFiles = queryPath.listFiles();
|
||||||
for (File subTypeFile : subTypeFiles) {
|
for (File subTypeFile : subTypeFiles) {
|
|
@ -114,7 +114,7 @@ public class ObjectDao {
|
||||||
|
|
||||||
long removed = 0;
|
long removed = 0;
|
||||||
|
|
||||||
Set<ObjectRef> refs = new HashSet<ObjectRef>();
|
Set<ObjectRef> refs = new HashSet<>();
|
||||||
typeRef.lock();
|
typeRef.lock();
|
||||||
refs.add(typeRef);
|
refs.add(typeRef);
|
||||||
try {
|
try {
|
|
@ -89,7 +89,7 @@ public class XmlTestMain {
|
||||||
Document document = docBuilder.parse(file);
|
Document document = docBuilder.parse(file);
|
||||||
Element rootElement = document.getDocumentElement();
|
Element rootElement = document.getDocumentElement();
|
||||||
|
|
||||||
List<MyModel> resources = new ArrayList<MyModel>();
|
List<MyModel> resources = new ArrayList<>();
|
||||||
|
|
||||||
NodeList resElements = rootElement.getElementsByTagName("Resource");
|
NodeList resElements = rootElement.getElementsByTagName("Resource");
|
||||||
for (int i = 0; i < resElements.getLength(); i++) {
|
for (int i = 0; i < resElements.getLength(); i++) {
|
|
@ -25,7 +25,7 @@ public class MyModel {
|
||||||
private String id;
|
private String id;
|
||||||
private String name;
|
private String name;
|
||||||
private String type;
|
private String type;
|
||||||
private Map<String, MyParameter> parameters = new HashMap<String, MyParameter>();
|
private Map<String, MyParameter> parameters = new HashMap<>();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
Loading…
Reference in New Issue