"" : List[String]
Thomas Leonard <tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Organization | IT Innovation |
| Message-ID | <[email protected]> |
This surprised me: ? "" : List[String] # value: "" ? "" : List[int] # value: [] I was calling TreeItem.setText(str). When str is the empty string it coerces to a list of strings and you get "Ambiguous overload on class org.eclipse.swt.widgets.TableItem: setText(String) vs setText(String[])". Is this intentional? -- Dr Thomas Leonard IT Innovation Centre 2 Venture Road Southampton Hampshire SO16 7NP Tel: +44 0 23 8076 0834 Fax: +44 0 23 8076 0833 mailto:tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected] http://www.it-innovation.soton.ac.uk