Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Genesys PGR
Genesys Backend
Commits
a73d7a58
Commit
a73d7a58
authored
Nov 13, 2013
by
Matija Obreza
Browse files
And another
parent
5fa13dd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/genesys2/server/model/impl/Country.java
View file @
a73d7a58
...
...
@@ -35,7 +35,6 @@ import org.hibernate.search.annotations.Store;
import
com.fasterxml.jackson.databind.JsonNode
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
com.fasterxml.jackson.databind.node.ObjectNode
;
@Entity
@Table
(
name
=
"country"
)
...
...
@@ -145,7 +144,8 @@ public class Country extends BusinessModel {
ObjectMapper
mapper
=
new
ObjectMapper
();
try
{
this
.
nameJ
=
mapper
.
readTree
(
nameL
);
ObjectNode
newLang
=
mapper
.
createObjectNode
().
put
(
locale
.
getLanguage
(),
name
);
// ObjectNode newLang =
// mapper.createObjectNode().put(locale.getLanguage(), name);
// System.err.println(newLang);
}
catch
(
IOException
e
)
{
}
...
...
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