|
|
@ -129,7 +129,6 @@ public class GeoServcieManagerImpl implements GeoService {
|
|
|
|
Object contentObj = resource.getContent();
|
|
|
|
Object contentObj = resource.getContent();
|
|
|
|
if (contentObj instanceof String[]) {
|
|
|
|
if (contentObj instanceof String[]) {
|
|
|
|
String[] content = (String[]) contentObj;
|
|
|
|
String[] content = (String[]) contentObj;
|
|
|
|
Gson gson = new Gson();
|
|
|
|
|
|
|
|
for (String res : content) {
|
|
|
|
for (String res : content) {
|
|
|
|
Resource childRes = registry.get(res);
|
|
|
|
Resource childRes = registry.get(res);
|
|
|
|
Properties props = childRes.getProperties();
|
|
|
|
Properties props = childRes.getProperties();
|
|
|
@ -437,7 +436,6 @@ public class GeoServcieManagerImpl implements GeoService {
|
|
|
|
|
|
|
|
|
|
|
|
if (contentObj instanceof String[]) {
|
|
|
|
if (contentObj instanceof String[]) {
|
|
|
|
String[] content = (String[]) contentObj;
|
|
|
|
String[] content = (String[]) contentObj;
|
|
|
|
Gson gson = new Gson();
|
|
|
|
|
|
|
|
for (String res : content) {
|
|
|
|
for (String res : content) {
|
|
|
|
Resource childRes = registry.get(res);
|
|
|
|
Resource childRes = registry.get(res);
|
|
|
|
Properties props = childRes.getProperties();
|
|
|
|
Properties props = childRes.getProperties();
|
|
|
@ -488,7 +486,6 @@ public class GeoServcieManagerImpl implements GeoService {
|
|
|
|
Object contentObj = resource.getContent();
|
|
|
|
Object contentObj = resource.getContent();
|
|
|
|
if (contentObj instanceof String[]) {
|
|
|
|
if (contentObj instanceof String[]) {
|
|
|
|
String[] content = (String[]) contentObj;
|
|
|
|
String[] content = (String[]) contentObj;
|
|
|
|
Gson gson = new Gson();
|
|
|
|
|
|
|
|
for (String res : content) {
|
|
|
|
for (String res : content) {
|
|
|
|
Resource childRes = registry.get(res);
|
|
|
|
Resource childRes = registry.get(res);
|
|
|
|
Properties props = childRes.getProperties();
|
|
|
|
Properties props = childRes.getProperties();
|
|
|
|