Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
3882fb2b
Commit
3882fb2b
authored
7 years ago
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We have a bug. The cluster_node_info is set as string not json
parent
b38bd2ce
master
DRIP_3.0
develop
staging
review1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Converter.java
...rc/main/java/nl/uva/sne/drip/commons/utils/Converter.java
+6
-2
No files found.
drip-commons/src/main/java/nl/uva/sne/drip/commons/utils/Converter.java
View file @
3882fb2b
...
...
@@ -105,8 +105,9 @@ public class Converter {
}
else
if
(
value
instanceof
JSONObject
)
{
value
=
jsonObject2Map
((
JSONObject
)
value
);
}
else
if
(
value
.
equals
(
"[]"
))
{
Logger
.
getLogger
(
Converter
.
class
.
getName
()).
log
(
Level
.
WARNING
,
"value: {0} is not JSONArray or an JSONObject"
,
value
);
value
=
null
;
value
=
new
ArrayList
();
}
else
if
(
value
.
getClass
().
getName
().
equals
(
"org.json.JSONObject$Null"
))
{
value
=
new
String
();
}
map
.
put
(
key
,
value
);
}
...
...
@@ -122,6 +123,9 @@ public class Converter {
}
else
if
(
value
instanceof
JSONObject
)
{
value
=
jsonObject2Map
((
JSONObject
)
value
);
}
if
(
value
instanceof
String
)
{
System
.
err
.
println
(
value
);
}
list
.
add
(
value
);
}
return
list
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment