Well, technically speaking, using toString() sounds like it would make the enums type insensitive. And that would lead to its own problems, no? It sounds like the solution would be to provide lowercased enum constants in this case (should we decide to &quot;step down&quot; the casing ;)<br>
<br>Thoughts?<br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 7:07 AM, Max Rydahl Andersen <span dir="ltr">&lt;<a href="mailto:max.andersen@redhat.com">max.andersen@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Mar 16, 2011, at 06:20, Lincoln Baxter, III wrote:<br>
<br>
&gt;<br>
&gt; Enums have a to string method one use to make them look less ancient.<br>
&gt;<br>
&gt; I actually find the uppercase printout makes them stand out as option values more than they do as plain text<br>
<br>
</div>You do autocomplete - the options are what is there...no matter if its lowercase or uppercase.<br>
<div class="im"><br>
&gt; , but also, using the toString() name might make it more difficult to convert back to the object.<br>
<br>
</div>if the tostring is just the lowercased version its not going to be hard ;)<br>
<div class="im">&gt;<br>
&gt; Btw. Aren&#39;t enums static and thus bad for something like expandable lists ?<br>
&gt;<br>
&gt; Most of the lists you&#39;re seeing aren&#39;t expandable :)<br>
<br>
</div>Because they are enums ? :P<br>
<br>
List of known repositories sounds like something you would like to expand on and not have limited to specific list....<br>
same with many options IMO.<br>
<div class="im"><br>
&gt; But what in specific are your concerns with this? I may have missed something important.<br>
<br>
</div>1) It looks UGLY<br>
2) I have to type capital letters to get the matching options - unless seam forge becomes case insensitive but then you have problems with file matching on most OS&#39;s<br>
3) it looks like Seam Forge is SHOUTING at me<br>
<br>
/max<br>
<a href="http://about.me/maxandersen" target="_blank">http://about.me/maxandersen</a><br>
<br>
<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Lincoln Baxter, III<br><a href="http://ocpsoft.com">http://ocpsoft.com</a><br><a href="http://scrumshark.com">http://scrumshark.com</a><br>&quot;Keep it Simple&quot;<br>