No fears actually ;-). For sources that require resonable efforts to collect all entries, the default implementtion extracting one entry from the map might not be useful. But this is rarely the case. Just wanted to listen to your thaughts ;-)
2017-10-17 23:12 GMT+02:00 P. Ottlinger <[email protected]>: > Am 17.10.2017 um 15:17 schrieb Anatole Tresch: > > Hi all > > > > WDYT on adding some default functionality on the PropertySource SPI: > > > > default boolean isScannable(){ > > return true; > > } > > > +1 > > > // not sure for this... > > > > default PropertyValue get(String key){ > > return getProperties().get(key);} > > Sounds reasonable to me as well - what cirumstances do you fear with > that default implementation? > > Cheers, > Phil > -- *Anatole Tresch* PPMC Member Apache Tamaya JCP Star Spec Lead *Switzerland, Europe Zurich, GMT+1* *maketechsimple.wordpress.com <http://maketechsimple.wordpress.com/> * *Twitter: @atsticks, @tamayaconf* *Speaking at:* [image: JSD_Speaker_2017][image: J-Con 2017 logo][image: JVM Con]
