Menu

Uncessary variable in Manager->loadUsingTempl

aglaforge
2006-02-01
2013-04-25
  • aglaforge

    aglaforge - 2006-02-01

    If you look in the <TableName>Manager->loadUsingTemplate(<BeanName> pObject, int startRow, int numRows)

    There is an extra:
    StringBuffer where = new StringBuffer("");

    Easy enough to remove from the template, just an FYI.

     
    • aglaforge

      aglaforge - 2006-02-01

      Same thing in:

          public int countUsingTemplate($beanClass pObject) throws SQLException

       
    • aglaforge

      aglaforge - 2006-02-01

      Also, the
      private static final String TABLE_NAME = $tablename;
      is never used.

      In the Manager class, the import:
      import java.util.*;

      is also not used.

      (I know this is a little nit picky, just meant as an FYI)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.