Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-directcontrolservlet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
2ec575a2
authored
2014-10-09 19:17:29 -0500
by
Ean Schuessler
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use static inner class. #4298
1 parent
049125b7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
15 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
2ec575a
...
...
@@ -320,24 +320,22 @@ public class DirectControlServlet extends HttpServlet {
}
return
delegator
;
}
}
class
ISODateValueProcessor
implements
JsonValueProcessor
{
public
static
final
String
module
=
ISODateValueProcessor
.
class
.
getName
();
public
ISODateValueProcessor
()
{
}
protected
static
class
ISODateValueProcessor
implements
JsonValueProcessor
{
public
ISODateValueProcessor
()
{
}
public
Object
processArrayValue
(
Object
value
,
JsonConfig
jsonConfig
)
{
return
value
;
}
public
Object
processArrayValue
(
Object
value
,
JsonConfig
jsonConfig
)
{
return
value
;
}
public
Object
processObjectValue
(
String
key
,
Object
value
,
JsonConfig
jsonConfig
)
{
return
process
(
value
,
jsonConfig
);
}
public
Object
processObjectValue
(
String
key
,
Object
value
,
JsonConfig
jsonConfig
)
{
return
process
(
value
,
jsonConfig
);
}
private
Object
process
(
Object
value
,
JsonConfig
jsonConfig
)
{
String
newValue
=
value
.
toString
();
return
newValue
;
private
Object
process
(
Object
value
,
JsonConfig
jsonConfig
)
{
String
newValue
=
value
.
toString
();
return
newValue
;
}
}
}
...
...
Please
register
or
sign in
to post a comment