(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/shared/src/com/sun/j2me/blueprints/smartticket/shared/midp/model/Theater.java:106:
(4): Object types such as
"com.sun.j2me.blueprints.smartticket.shared.midp.model.Theater" should be compared using
the equals() method!
src/app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/SmartTicketFacadeBean.java:234:
(4): The cast to type
"com.sun.j2me.blueprints.smartticket.server.ejb.account.AccountLocal" is unnecessary,
since the operand already is of the same type.
src/app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/SmartTicketFacadeBean.java:451:
(4): The cast to type
"com.sun.j2me.blueprints.smartticket.server.ejb.account.AccountLocal" is unnecessary,
since the operand already is of the same type.
src/app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/show/Seating.java:174:
(4): The cast to type "byte" is unnecessary, since the operand already is of the same
type.
src/app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/show/Seating.java:179:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/reservation/ReservationBean.java:120:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/MovieSchedulePopulator.java:86:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/MovieSchedulePopulator.java:97:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/XMLDBHandler.java:59:
(4): Make sure to null out the reference to type java.lang.StringBuffer as soon as
possible to avoid holding on to too much memory or system resources
src/app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/XMLDBHandler.java:59:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/XMLDBHandler.java:174:
(4): This "if" statement is easier to understand if the negetion is eliminated, and the
two branches are switched
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/util/ApplicationUtilities.java:45:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/util/ApplicationUtilities.java:179:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/LocalModel.java:96:
(4): The type "java.util.Vector" should be avoided and replaced with its counterpart
from the Collections classes if possible.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/ModelFacade.java:357:
(4): This "if" statement is easier to understand if the negetion is eliminated, and the
two branches are switched
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/ModelFacade.java:417:
(4): It is strongly recommended to create a StringBuffer with a reasonable initial size
instead of the default size of 16.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/Preferences.java:72:
(4): The type "java.util.Hashtable" should be avoided and replaced with its counterpart
from the Collections classes if possible.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/RemoteModelProxy.java:64:
(4): The type "java.util.Hashtable" should be avoided and replaced with its counterpart
from the Collections classes if possible.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/SynchronizationAgent.java:83:
(4): The type "java.util.Vector" should be avoided and replaced with its counterpart
from the Collections classes if possible.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/SynchronizationAgent.java:102:
(4): The type "java.util.Hashtable" should be avoided and replaced with its counterpart
from the Collections classes if possible.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/SynchronizationAgent.java:141:
(4): The type "java.util.Hashtable" should be avoided and replaced with its counterpart
from the Collections classes if possible.
src/app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/SynchronizationAgent.java:181:
(4): The type "java.util.Hashtable" should be avoided and replaced with its counterpart
from the Collections classes if possible.
- ! $ !!&
, % & 4 ! (=$# #='+
1.6.1 AUDITING SUN SMART TICKET
37
©2003 JUTILS.COM • ALL RIGHTS RESERVED