mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Removed unused gson initization
This commit is contained in:
parent
9865a260d4
commit
fb368caae4
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user