sszuev commented on issue #1374:
URL: https://github.com/apache/jena/issues/1374#issuecomment-1154122367

   > A copy of the context will share the original registries - the way to 
modify that is to modify the copy of the context. I'd put that code in the 
PropertyFunctionRegistry, not "teach" context about a specific setting - moie 
discussion for the PR - the copy operations look usefu
   
   What is appropriate place to such functionality ?
   `org.apache.jena.sparql.util.Contexts` ?
   `org.apache.jena.sparql.util;ContextUtils` ?
   
   In the PR, this is static helper, instance of `Context` itself does not 
refer to any particular symbol.
   There are already static helpers like `fromDataset(DatasetGraph)`.
   I don't quite understand why `import 
org.apache.jena.sparql.core.DatasetGraph` is ok, but import 
`org.apache.jena.sparql.function.FunctionRegistry` is not? 
   If we move it to some other place it would be harder to find it.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to