9 Replies Latest reply: Feb 16, 2008 6:32 AM by 807601 RSS

    Performance optimization related.

      I am doing Performance optimization on code.

      Actually, I am doing performance optimization for old code where it is of JDK1.4 related. I met up with a doubt when I optimize code for JDK1.5.

      Problem statement:
       Collection errors = new ArrayList();
                  errors.add(new GenericException(ErrorCodes.EMPLOYEE_INVALID_PERMISSION));
                  setErrorsInRequest(request, errors);
      In the above code the compiler tells us to Parameterize the Collection type reference. If we don't make any parameterization for Collection type, will that be dealing with Performace issue?

      Please help me out to resolve the problem statement.

      Thanks and regards,
      Leslie V