Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
b5eb2daa
Commit
b5eb2daa
authored
Apr 23, 2014
by
Matija Obreza
Browse files
Call the right method to get string from JSON tree
parent
be15d52e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/genesys2/server/service/impl/EasySMTAConnector.java
View file @
b5eb2daa
...
...
@@ -100,7 +100,7 @@ public class EasySMTAConnector implements EasySMTA {
// TODO Report various errorCodes!
}
else
{
return
objectMapper
.
readValue
(
tree
.
asText
(),
EasySMTA
.
EasySMTAUserData
.
class
);
return
objectMapper
.
readValue
(
tree
.
toString
(),
EasySMTA
.
EasySMTAUserData
.
class
);
}
}
}
catch
(
final
ClientProtocolException
e
)
{
...
...
Write
Preview
Supports
Markdown
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