db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6163) Reduce visibility of methods in subclasses of PageBasicOperation
Date Wed, 10 Apr 2013 12:00:20 GMT
Knut Anders Hatlen created DERBY-6163:
-----------------------------------------

             Summary: Reduce visibility of methods in subclasses of PageBasicOperation
                 Key: DERBY-6163
                 URL: https://issues.apache.org/jira/browse/DERBY-6163
             Project: Derby
          Issue Type: Improvement
          Components: Store
    Affects Versions: 10.11.0.0
            Reporter: Knut Anders Hatlen
            Assignee: Knut Anders Hatlen
            Priority: Minor


org.apache.derby.impl.store.raw.data.PageBasicOperation and its subclasses are public. They
are however never used outside of the package in which they live, so package access should
be sufficient for most of their methods. Reducing the visibility of the classes and/or their
methods silences many warnings in my IDE (NetBeans). Typically, the warnings are about public
methods that have parameters of non-public types.

Note: These classes implement Formatable, which requires that the classes are public and have
public no-arg constructors. We can still reduce the visibility of the abstract classes in
the hierarchy, as well as the specialized constructors that take arguments, since they are
not used by the serialization logic.

--
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

Mime
View raw message