mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
remove old second contentType parameter
This commit is contained in:
@@ -82,12 +82,6 @@ public class JSONInterceptor extends AbstractInterceptor {
|
||||
accept = request.getHeader("accept");
|
||||
}
|
||||
|
||||
if (accept != null) {
|
||||
int iSemicolonIdx;
|
||||
if ((iSemicolonIdx = accept.indexOf(";")) != -1)
|
||||
accept = accept.substring(0, iSemicolonIdx);
|
||||
}
|
||||
|
||||
Object rootObject = null;
|
||||
final ValueStack stack = invocation.getStack();
|
||||
if (this.root != null) {
|
||||
|
||||
Reference in New Issue
Block a user