Knut Anders Hatlen created DERBY-6535:
-----------------------------------------
Summary: Remove storageFactory field from subclasses of
InputStreamFile
Key: DERBY-6535
URL: https://issues.apache.org/jira/browse/DERBY-6535
Project: Derby
Issue Type: Improvement
Components: Store
Affects Versions: 10.11.0.0
Reporter: Knut Anders Hatlen
Assignee: Knut Anders Hatlen
Priority: Trivial
The InputStreamFile class has a field called storageFactory which holds the
BaseStorageFactory instance that created it. This field is accessible by all
subclasses of InputStream. Still, each subclass has its own storageFactory
field which shadows the field in the parent class and holds a reference to the
exact same factory instance as the parent.
I'd like to remove the extra fields in the subclasses in order to simply the
code and silence IDE warnings about the shadowing.
--
This message was sent by Atlassian JIRA
(v6.2#6252)