[
https://issues.apache.org/jira/browse/TINKERPOP-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette updated TINKERPOP-1058:
----------------------------------------
Issue Type: Improvement (was: Wish)
> Make EmptyVertexProperty and EmptyProperty not final
> ----------------------------------------------------
>
> Key: TINKERPOP-1058
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1058
> Project: TinkerPop
> Issue Type: Improvement
> Components: structure
> Affects Versions: 3.1.0-incubating, 3.1.1-incubating
> Reporter: Mike Personick
> Priority: Minor
>
> I would like to be able to extend these classes to make certain tests in the
> StructureStandardSuite pass without overriding them and changing their logic
> a bit. Those tests do things like this:
> assertEquals(VertexProperty.empty(), p);
> Where in my case p is a BlazeVertexProperty (strengthens the return type on
> any iterators to CloseableIterator), but the equality method on
> EmptyVertexProperty checks the class of other. So I'd need to subclass
> EmptyVertexProperty to make it work. Of course if we changed the GraphAPI to
> use CloseableIterators then this change would become unnecessary as I could
> use the "stock" API instead.
> Related to:
> https://issues.apache.org/jira/browse/TINKERPOP-790
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)