[ 
https://issues.apache.org/jira/browse/TIKA-4294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17871127#comment-17871127
 ] 

Tilman Hausherr commented on TIKA-4294:
---------------------------------------

that alternative is still there:
{code}
Class superClazz = className.equals(superClassName) ? clazz : 
Class.forName(superClassName);
{code}
The result will always be the {{superClassName}} class. It only makes sense if 
you'd assume that {{Class.forName}} is a very slow operation (I don't know if 
it is), or could fail for security reasons. Or I'm missing something here.

> Simplify serialization/deserialization of ParseContext
> ------------------------------------------------------
>
>                 Key: TIKA-4294
>                 URL: https://issues.apache.org/jira/browse/TIKA-4294
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Trivial
>             Fix For: 3.0.0
>
>
> Via [~dimirsen] (?) and [~tilman]'s ping on TIKA-4252, we should simplify the 
> serialization and deserialization of ParseContext to avoid redundancy of the 
> superclass.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to