PILLUTLAAVINASH / google-enterprise-connector-manager

Automatically exported from code.google.com/p/google-enterprise-connector-manager
0 stars 0 forks source link

SimpleProperty.getValues is broken. #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Read the source.

What is the expected output? What do you see instead?

First, if the valueList is null, getValues throws a NullPointerException. A
null list is accepted by the List constructor, and explicitly handled in
getValue, which suggests that it should also be supported by getValues.

Second, if the property has a single value, getValues does not return it.
It constructs a list so that it can return an Iterator, but never puts the
value into the list.

Please use labels and text to provide additional information.

Original issue reported on code.google.com by jl1615@gmail.com on 22 Feb 2007 at 5:40

GoogleCodeExporter commented 8 years ago
Google Bug #245043

Original comment by vjo...@gmail.com on 22 Feb 2007 at 6:11

GoogleCodeExporter commented 8 years ago
Fixed in R 282.

Original comment by donald.z...@gmail.com on 28 Apr 2007 at 12:21

GoogleCodeExporter commented 8 years ago

Original comment by mgron...@gmail.com on 3 Oct 2007 at 11:02