beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xibin Zeng (JIRA)" <>
Subject [jira] Commented: (BEEHIVE-1014) Generated source from control files shows warnings inside of eclipse
Date Mon, 28 Nov 2005 21:57:38 GMT
    [ ] 

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

int eventIndex = 0;

the local variable eventIndex is never used.


> Generated source from control files shows warnings inside of eclipse
> --------------------------------------------------------------------
>          Key: BEEHIVE-1014
>          URL:
>      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:
For more information on JIRA, see:

View raw message