Lint4j Documentation

Lint4j Sample Report for Suns Smart Ticket Example

Lint4j ran with the following command line

ant check-ticket

It generated the following warnings:

Buildfile: build.xml
check-ticket:
app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/AccountPopulator.java:174: (1): The local variable "account" shadows an accessible field with the same name and compatible type in class com.sun.j2me.blueprints.smartticket.server.web.admin.populate.AccountPopulator
app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/MoviePopulator.java:153: (1): The local variable "movie" shadows an accessible field with the same name and compatible type in class com.sun.j2me.blueprints.smartticket.server.web.admin.populate.MoviePopulator
app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/TheaterPopulator.java:163: (1): The local variable "theater" shadows an accessible field with the same name and compatible type in class com.sun.j2me.blueprints.smartticket.server.web.admin.populate.TheaterPopulator
app/server/web/src/com/sun/j2me/blueprints/smartticket/server/web/admin/populate/TheaterSchedulePopulator.java:115: (1): The local variable "theaterSchedule" shadows an accessible field with the same name and compatible type in class com.sun.j2me.blueprints.smartticket.server.web.admin.populate.TheaterSchedulePopulator
app/client/midp/src/com/sun/j2me/blueprints/smartticket/client/midp/model/LocalModel.java:68: (1): Statement has no effect, possible scoping problem
app/shared/src/com/sun/j2me/blueprints/smartticket/shared/midp/model/MovieRating.java:151: (1): Statement has no effect, possible scoping problem
app/shared/src/com/sun/j2me/blueprints/smartticket/shared/midp/model/TheaterSchedule.java:118: (1): The local variable "showTimes" shadows an accessible field with the same name and compatible type in class com.sun.j2me.blueprints.smartticket.shared.midp.model.TheaterSchedule.MovieSchedule
app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/rating/MovieRatingData.java:128: (1): Statement has no effect, possible scoping problem
app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/SmartTicketFacadeBean.java:234: (1): The local variable "account" shadows an accessible field with the same name and compatible type in class com.sun.j2me.blueprints.smartticket.server.ejb.SmartTicketFacadeBean
app/server/ejb/src/com/sun/j2me/blueprints/smartticket/server/ejb/SmartTicketFacadeBean.java:451: (1): The local variable "account" shadows an accessible field with the same name and compatible type in class com.sun.j2me.blueprints.smartticket.server.ejb.SmartTicketFacadeBean
Please add the following types to your classpath for full analysis: [Canvas, ChoiceGroup, MessageListener, List, MIDlet, Form, CommandListener, HttpConnection]
BUILD SUCCESSFUL
Total time: 18 seconds