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

ASF GitHub Bot commented on TIKA-4290:
--------------------------------------

tballison commented on PR #1872:
URL: https://github.com/apache/tika/pull/1872#issuecomment-2269315467

   There's redundancy in the serialization/deserialization of ParseContext, 
where the key name is the super class. I wanted to reuse 
TikaJsonSerializer#serializeObject which needs to encode the instantiation 
class and the superclass because normally the superclass is not defined. Let me 
try to clean this up.
   
   This is the redundancy that is part of ParseContext:
   
   ```
   "parseContext": {
       "org.apache.tika.metadata.filter.MetadataFilter": {
         "_class": "org.apache.tika.metadata.filter.CompositeMetadataFilter",
         "_super_class": "org.apache.tika.metadata.filter.MetadataFilter",
         "filters": [
           {
             "_class": "org.apache.tika.metadatafilters.SomeFilter",
   ```




> Fix code inspection anomalies
> -----------------------------
>
>                 Key: TIKA-4290
>                 URL: https://issues.apache.org/jira/browse/TIKA-4290
>             Project: Tika
>          Issue Type: Bug
>    Affects Versions: 2.9.2
>            Reporter: Tilman Hausherr
>            Priority: Minor
>             Fix For: 3.0.0, 2.9.3
>
>




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

Reply via email to