> I also notice that you've replaced the arrays (String[]) with > Collections (List<String>). I have no objection to it, but we didn't > discuss it so far. Do you believe we should avoid using arrays in > APIs?
Yeah... Arrays are always mutable. Lists you can make immutable. I think this is important in the API. In this case i don't think the client should be allowed to do request.getAvailableScopes()[0] = "blah"; ~mck -- "We are what we think. All that we are arises with our thoughts. With our thoughts, we make the world." Buddha | http://github.com/finn-no | http://tech.finn.no |
signature.asc
Description: This is a digitally signed message part
