Not quite sure what you are saying here. You cannot return anything from a
void method, it is a compile-time error. IDEA should mark both of these
return lines as errors.
On Thursday 26 September 2002 08:49 am, you wrote:
>�> I don't know if users should be protected
>�> from usages like this:
>�>
>�> Item item = new Item();
>�> public void getItem() {
>�> return item;
>�> }
>�>
>�> is not the same as:
>�>
>�> public void getItem() {
>�> Item item = new Item();
>�> return item;
>�> }
>�
>�
>�
>�_______________________________________________
>�Eap-features mailing list
>�[EMAIL PROTECTED]
>�http://lists.jetbrains.com/mailman/listinfo/eap-features
>�
==============================================================================
This email and any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. All information is the
view of the individual and not necessarily the company. If you are not the intended
recipient you are hereby notified that any dissemination, distribution, or copying of
this communication and its attachments is strictly prohibited. If you have received
this email in error please notify:
[EMAIL PROTECTED]
==============================================================================
_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features