Actions
Feature #71
openClean up DatabaseOperationContext
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Description
This is the next cleanup refactoring.
<br/>
<br/>
We have:
<br/>
<br/>
[[ResolverFactory]] findModelResolverFactory(long model)
<br/>
[[ResolverFactory]] findUncachedExternalResolverFactory(long model)
<br/>
[[ResolverFactory]] findModelTypeResolverFactory(URI modelTypeURI)
<br/>
Resolver obtainResolver(ResolverFactory resolverFactory)
<br/>
URI mapToModelTypeURI(URI modelURL)
<br/>
URI findModelTypeURI(long model)
<br/>
String findProtocol(long n)
<br/>
<br/>
most of which do multiple overlapping tasks, often implemented slightly differently.
<br/>
<br/>
Most of these methods used to live in different classes, and have migrated here as their homes were refactored and tidied.
<br/>
<br/>
[[DatabaseOperationContext]] and [[LocalQueryResolver]] are the last two dumping grounds in the system-core where we have left the cruft that was too difficult to clean up concurrently with previous refactorings; and [[DatabaseOperationContext]] is by far the worst of the two - so it's next on the list.
No data to display
Actions