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

ASF subversion and git services commented on JENA-525:
------------------------------------------------------

Commit 1518255 from [~andy.seaborne] in branch 'jena/trunk'
[ https://svn.apache.org/r1518255 ]

JENA-525 : Add cloning operation for the (new) LocationMapper.
Reformat.
                
> OntDocuemntManager copies the FileManger incorrectly.
> -----------------------------------------------------
>
>                 Key: JENA-525
>                 URL: https://issues.apache.org/jira/browse/JENA-525
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Ontology API
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> From 
> http://mail-archives.apache.org/mod_mbox/jena-users/201308.mbox/%3C521D6121.3070503%40neusoft.com%3E
> The OntDocumentManager takes its own copy of a FileManager -- but as of jena 
> 2.10.1 the actual global filemanager is a subclass of FileManager.  When 
> OntDocumentManager recreates a copy, the copy is incomplete.  Need to copy 
> the subclass somehow.
> Problem code: {{new FileManager}} in:
> {noformat}
> public void setFileManager() {
>         setFileManager( new FileManager( FileManager.get() ) );
>         m_usingGlobalFileMgr = true;
>     }
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to