Subversion Repositories DevTools

Rev

Rev 7048 | Rev 7070 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7048 Rev 7051
Line 3195... Line 3195...
3195
            if( rset2.next() )
3195
            if( rset2.next() )
3196
            {
3196
            {
3197
                String dpv_ext = rset2.getString("v_ext","");
3197
                String dpv_ext = rset2.getString("v_ext","");
3198
                
3198
                
3199
                p.mDependencyCollection.add(pkg_name + dpv_ext);
3199
                p.mDependencyCollection.add(pkg_name + dpv_ext);
-
 
3200
//TODO - This looks wrong. I'm thinking the dpvid needs to be correct and not simply -1, unless these are going to be fixed up later                
3200
                p.mDependencyIDCollection.add(-1);
3201
                p.mDependencyIDCollection.add(-1);
3201
            }
3202
            }
3202
 
3203
 
3203
            rset2.close();
3204
            rset2.close();
3204
            stmt2.close();
3205
            stmt2.close();
Line 3595... Line 3596...
3595
     * @return  Package with the matching mID or NULL_PACKAGE if no package has the mID
3596
     * @return  Package with the matching mID or NULL_PACKAGE if no package has the mID
3596
     */
3597
     */
3597
    int findPackageLastId = 0;
3598
    int findPackageLastId = 0;
3598
    Package findPackageLastPackage = NULL_PACKAGE;
3599
    Package findPackageLastPackage = NULL_PACKAGE;
3599
    
3600
    
3600
    protected Package findPackage(int id, ArrayList<Package> packageCollection)
3601
    public Package findPackage(int id, ArrayList<Package> packageCollection)
3601
    {
3602
    {
3602
        mLogger.debug("findPackage id {}", id);
3603
        mLogger.debug("findPackage id {}", id);
3603
        Package retVal = NULL_PACKAGE;
3604
        Package retVal = NULL_PACKAGE;
3604
        
3605
        
3605
        if (findPackageLastId != 0 && findPackageLastId == id) {
3606
        if (findPackageLastId != 0 && findPackageLastId == id) {