2ec575a2 by Ean Schuessler

Use static inner class. #4298

1 parent 049125b7
......@@ -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;
}
}
}
......