algorithmfoundry/Foundry

Protected class AbstractMutableDoubleMap.SimpleEntrySet is exposed through AbstractMutableDoubleMap#entrySet()

Closed this issue · 1 comments

Zero3 commented

The AbstractMutableDoubleMap.SimpleEntrySet class is protected, but exposed through the public AbstractMutableDoubleMap#entrySet() method. This is a problem, because you can't look at the SimpleEntrySet object returned by the entrySet() method from "public" when you do not have "public" access to the SimpleEntrySet class.

Yeah, good catch. That return type should be changed to an interface.