Announcement Announcement Module
Collapse
No announcement yet.
Debug eclipse warning Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Debug eclipse warning

    Good,

    My doubt is the following one:

    I have a called Bean request, this bean instance a called class reportshandler.java, the case is that this class handles the ordering of a table, the problem that when I do debug with eclipse and tomcat, I notice that pass twice by the same site
    żesto no es normal verdad? ży de serlo como solucionarlo?

    CODE

    SOLICITUD CLASS

    public String mtsearch()
    {
    ...
    this.itemsTable = alFilter;
    reportHandler.setItems(this.itemsTable);
    ...
    return( "success"); // Aqui no tiene asociado nada en el navigation rules
    }
    REPORTHANDLER CLASS
    ...
    private void sortReports(ArrayList reports)
    {
    reportsort.sortReports(reports, sortBy);
    }
    ...
    REPORTSORT CLASS

    // Here I put a breakthrough point with eclipse and tomcat to him 5.5
    // and it happens to me twice, and I have noticed that in other sites to me happens equal

    public String sortReports(ArrayList reports, int iorder)
    {
    ...
    Collections.sort(reports, this.ascending ? DESC_BYLAST_COMPARATOR : ASC_BYFIRST_COMPARATOR);
    ...
    }
Working...
X