Hi to all,
for today, some other small things ...

Should be a static inner class ?

Description:

This class is an inner class, but does not use its embedded reference
to the object which created it.  This reference makes the instances of
the class larger, and may keep the reference to the creator object
alive longer than necessary.  If possible, the class should be made
static.

MenuBar.java:40 Should
org.apache.pivot.wtk.MenuBar$Item$ItemListenerList be a _static_ inner
class?
MenuButton.java:36 Should
org.apache.pivot.wtk.MenuButton$MenuButtonListenerList be a _static_
inner class?
TextNode.java:27 Should
org.apache.pivot.wtk.text.TextNode$TextNodeListenerList be a _static_
inner class?
MenuPopup.java:27 Should
org.apache.pivot.wtk.MenuPopup$MenuPopupListenerList be a _static_
inner class?
Canvas.java:36 Should
org.apache.pivot.wtk.media.drawing.Canvas$CanvasListenerList be a
_static_ inner class?
TerraCalendarSkin.java:343 Should
org.apache.pivot.wtk.skin.terra.TerraCalendarSkin$DateButtonDataRenderer
be a _static_ inner class?
Menu.java:41 Should org.apache.pivot.wtk.Menu$Item$ItemListenerList be
a _static_ inner class?
ChartView.java:327 Should
org.apache.pivot.charts.ChartView$ChartViewSeriesListenerList be a
_static_ inner class?
MenuBar.java:191 Should
org.apache.pivot.wtk.MenuBar$MenuBarListenerList be a _static_ inner
class?
ChartView.java:297 Should
org.apache.pivot.charts.ChartView$ChartViewCategoryListenerList be a
_static_ inner class?
ChartView.java:255 Should
org.apache.pivot.charts.ChartView$ChartViewListenerList be a _static_
inner class?


Bye,
Sandro

Reply via email to