9 Replies Latest reply on Feb 16, 2008 12:32 PM by 807601

    Performance optimization related.

    807601
      Hi.
      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
      www.googlestepper.blogspot.com
      www.scrollnroll.blogspot.com