Project

General

Profile

« Previous | Next » 

Revision 4466

Added by daigle almost 16 years ago

Add some generics typing

View differences:

DBUtil.java
694 694
   * @return is a vector which contains Integer object
695 695
   * @throws SQLException
696 696
   */
697
  public static Vector getRevListFromRevisionTable(String docIdWithoutRev) throws SQLException
697
  public static Vector<Integer> getRevListFromRevisionTable(String docIdWithoutRev) throws SQLException
698 698
  {
699
      Vector list = new Vector();
699
      Vector<Integer> list = new Vector<Integer>();
700 700
      int rev = 1;
701 701
      PreparedStatement pStmt = null;
702 702
      DBConnection dbConn = null;

Also available in: Unified diff