asolfre / objectify-appengine

Automatically exported from code.google.com/p/objectify-appengine
MIT License
0 stars 0 forks source link

Change Key<>.getString() to Key<>.toWebSafeString() #207

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As discussed with Jeff, I would recommend changing Key<>.getString() to 
Key<>.toWebSafeString()

On Wednesday, June 11, 2014 12:05:34 AM UTC-7, Jeff Schnitzer wrote:
You want Key.getString() (as opposed to toString()). It's not the greatest 
naming convention. The low level API has toWebSafeString() which is a little 
weird but we could go with that (deprecating getString()). I'm open to 
suggestions.

Original issue reported on code.google.com by casinit...@gmail.com on 11 Jun 2014 at 6:00

GoogleCodeExporter commented 9 years ago
I'll leave the getString() method because it conforms to javabeans but also add 
the toWebSafeString() method.

Original comment by lhori...@gmail.com on 11 Jun 2014 at 6:17

GoogleCodeExporter commented 9 years ago

Original comment by lhori...@gmail.com on 12 Jun 2014 at 1:53