maidh91 / guava-libraries

Automatically exported from code.google.com/p/guava-libraries
Apache License 2.0
0 stars 0 forks source link

expose inner API (used protected instead of private) #468

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful if some of the methods / inner classes / nested classes are 
declared as protected rather than private.

For example, I want to extend Splitter to be able to limit the number of 
splits, but I can't do this because Splitter only has private constructors, and 
the inner interface Strategy is declared as private.

Original issue reported on code.google.com by infinity0x@gmail.com on 4 Nov 2010 at 5:42

GoogleCodeExporter commented 9 years ago
These things are private because they are implementation details that we are 
not willing to commit to freezing.  Turning something like Splitter into a 
safely user-extendable class would be a bigger project than it may seem.

We are actually working on adding the limit feature to Splitter.

Original comment by kevinb@google.com on 5 Nov 2010 at 5:46

GoogleCodeExporter commented 9 years ago
This issue has been migrated to GitHub.

It can be found at https://github.com/google/guava/issues/<id>

Original comment by cgdecker@google.com on 1 Nov 2014 at 4:15

GoogleCodeExporter commented 9 years ago

Original comment by cgdecker@google.com on 3 Nov 2014 at 9:09