You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Xibin Zeng (JIRA)" <de...@beehive.apache.org> on 2005/11/28 22:57:38 UTC
[jira] Commented: (BEEHIVE-1014) Generated source from control files shows warnings inside of eclipse
[ http://issues.apache.org/jira/browse/BEEHIVE-1014?page=comments#action_12358713 ]
Xibin Zeng commented on BEEHIVE-1014:
-------------------------------------
I cloned this issue from BEEHIVE-680. Please forgive me if I should have re-opened the original issue, I couldn't figure out how. ;-)
We are still seeing compiler warnings from generated control sources in eclipse. Specifically, there are 3 warnings from a control ClientInitializer:
1. Unused import for "org.apache.beehive.controls.api.versioning.VersionRequired"
2. Unused import for "org.apache.beehive.controls.runtime.bean.AdaptorPersistenceDelegate"
3. If the control had a EventSet, the generated xxxEventAdaptor static inner class does not have a serialVersionUID
And the following warnings for a generated ControlBean class:
1. The xxxControlBean class implements Serializable but missing serialVersionUID
2. An inner class xxxNotifier class is missing serialVersionUID
In a generated BeanInfo class, in the initEventSetDescriptors method, the first line in the method
int eventIndex = 0;
the local variable eventIndex is never used.
Thanks
> Generated source from control files shows warnings inside of eclipse
> --------------------------------------------------------------------
>
> Key: BEEHIVE-1014
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1014
> Project: Beehive
> Type: Bug
> Components: Controls
> Versions: v1m1
> Reporter: Xibin Zeng
> Assignee: Eddie O'Neil
> Priority: Minor
> Fix For: 1.1
>
> 1. Build the basic controls sample (e.g., beehive\trunk\controls\test\src\controls/org/apache/beehive/controls/test/controls/basic/*)
> 2. Open the generated source from these controls inside of an eclipse editor
> Note that all of the generated source files have warnings about unused imports and serializable classes without SerialVersionID values.
> Not a major issue, but I think that seeing warnings inside of eclipse is bad.
> *bash05102005*
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira