Home
last modified time | relevance | path

Searched refs:oldPkg (Results 1 – 1 of 1) sorted by relevance

/external/jdiff/src/jdiff/
DAPIComparator.java56 PackageAPI oldPkg = (PackageAPI)(iter.next()); in compareAPIs() local
59 int idx = Collections.binarySearch(newAPI.packages_, oldPkg); in compareAPIs()
65 int existsNew = newAPI.packages_.indexOf(oldPkg); in compareAPIs()
69 … differs += 2.0 * comparePackages(oldPkg, (PackageAPI)(newAPI.packages_.get(existsNew))); in compareAPIs()
72 System.out.println("Package " + oldPkg.name_ + " was removed"); in compareAPIs()
73 apiDiff.packagesRemoved.add(oldPkg); in compareAPIs()
80 differs += 2.0 * comparePackages(oldPkg, (PackageAPI)(newAPI.packages_.get(idx))); in compareAPIs()
150 public double comparePackages(PackageAPI oldPkg, PackageAPI newPkg) { in comparePackages() argument
152 System.out.println("Comparing old package " + oldPkg.name_ + in comparePackages()
154 pkgDiff = new PackageDiff(oldPkg.name_); in comparePackages()
[all …]