Lint4j ran with the following command line
ant check-adventure
It generated the following warnings:
Buildfile: build.xml check-adventure: apps/consumerwebsite/src/java/com/sun/j2ee/blueprints/consumerwebsite/AdventureComponentManager.java:63: (2): The interface HttpSessionListener is already implemented by a super class, methods on this class could unintentionally override methods from the super class. apps/lodgingsupplier/lodgingsupplier-ejb/src/java/com/sun/j2ee/blueprints/lodgingsupplier/powebservice/LodgingOrder.java:62: (1): Statement has no effect, possible scoping problem apps/lodgingsupplier/lodgingsupplier-ejb/src/java/com/sun/j2ee/blueprints/lodgingsupplier/powebservice/LodgingPOEndpointBean.java:121: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/lodgingsupplier/lodgingsupplier-ejb/src/java/com/sun/j2ee/blueprints/lodgingsupplier/powebservice/LodgingPOEndpointBean.java:128: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/lodgingsupplier/lodgingsupplier-ejb/src/java/com/sun/j2ee/blueprints/lodgingsupplier/powebservice/LodgingPOEndpointBean.java:135: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/airlinesupplier/airlinesupplier-ejb/src/java/com/sun/j2ee/blueprints/airlinesupplier/powebservice/AirlineOrder.java:64: (1): Statement has no effect, possible scoping problem apps/airlinesupplier/airlinesupplier-ejb/src/java/com/sun/j2ee/blueprints/airlinesupplier/powebservice/AirlinePOEndpointBean.java:120: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/airlinesupplier/airlinesupplier-ejb/src/java/com/sun/j2ee/blueprints/airlinesupplier/powebservice/AirlinePOEndpointBean.java:127: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/airlinesupplier/airlinesupplier-ejb/src/java/com/sun/j2ee/blueprints/airlinesupplier/powebservice/AirlinePOEndpointBean.java:134: (1): A throw statement was detected in this finally block. This can produce unexpected results. components/waf/src/java/com/sun/j2ee/blueprints/waf/util/I18nUtil.java:128: (2): This catch block should rethrow the Throwable or Error it caught. components/waf/src/java/com/sun/j2ee/blueprints/waf/util/I18nUtil.java:150: (2): This catch block should rethrow the Throwable or Error it caught. apps/opc/opc-ejb/src/java/com/sun/j2ee/blueprints/opc/webservicebroker/provider/BrokerTransformer.java:168: (1): The local variable "bos" shadows an accessible field with the same name and compatible type in class com.sun.j2ee.blueprints.opc.webservicebroker.provider.BrokerTransformer apps/activitysupplier/activitysupplier-ejb/src/java/com/sun/j2ee/blueprints/activitysupplier/powebservice/ActivityPOEndpointBean.java:120: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/activitysupplier/activitysupplier-ejb/src/java/com/sun/j2ee/blueprints/activitysupplier/powebservice/ActivityPOEndpointBean.java:127: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/activitysupplier/activitysupplier-ejb/src/java/com/sun/j2ee/blueprints/activitysupplier/powebservice/ActivityPOEndpointBean.java:134: (1): A throw statement was detected in this finally block. This can produce unexpected results. apps/opc/opc-ejb/src/java/com/sun/j2ee/blueprints/opc/utils/JMSUtils.java:75: (1): A return statement was detected in this finally block. This can produce unexpected results. apps/opc/opc-ejb/src/java/com/sun/j2ee/blueprints/opc/utils/JMSUtils.java:110: (1): A return statement was detected in this finally block. This can produce unexpected results. Please add the following types to your classpath for full analysis: [UserTransaction, SOAPMessage, OrderDetails, WebServiceBroker, Mail, CreditCard, CreditCardService, AirlinePurchaseOrderService, ActivityPurchaseOrderService, LodgingPurchaseOrderService, MailHelper] BUILD SUCCESSFUL Total time: 33 seconds