You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (JIRA)" <ji...@apache.org> on 2019/02/27 15:20:00 UTC
[jira] [Updated] (NETBEANS-252) Code Generator unable to add method
to enum constants
[ https://issues.apache.org/jira/browse/NETBEANS-252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi updated NETBEANS-252:
-------------------------------------
Fix Version/s: 9.0
> Code Generator unable to add method to enum constants
> -----------------------------------------------------
>
> Key: NETBEANS-252
> URL: https://issues.apache.org/jira/browse/NETBEANS-252
> Project: NetBeans
> Issue Type: Bug
> Components: java - Source
> Reporter: Jan Lahoda
> Assignee: Jan Lahoda
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.0
>
> Time Spent: 6h 50m
> Remaining Estimate: 0h
>
> Based on:
> https://netbeans.org/bugzilla/show_bug.cgi?id=271633
> reported by [~cowwoc]
> Consider code like this:
> ---
> package javaapplication1;
> public enum E {
> A
> {
> };
> }
> ---
> Place the caret between the { } of the enum constant, invoke code completion and try to override toString(). This will fail, and the method won't be added.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists