• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package jdiff;
2 
3 import java.util.*;
4 import com.sun.javadoc.*;
5 
6 /**
7  * Changes between two packages.
8  *
9  * See the file LICENSE.txt for copyright details.
10  * @author Matthew Doar, mdoar@pobox.com
11  */
12 class PackageDiff {
13 
14     public String name_;
15 
16     /** Classes added in the new API. */
17     public List classesAdded = null;
18     /** Classes removed in the new API. */
19     public List classesRemoved = null;
20     /** Classes changed in the new API. */
21     public List classesChanged = null;
22 
23     /**
24      * A string describing the changes in documentation.
25      */
26     public String documentationChange_ = null;
27 
28     /* The percentage difference for this package. */
29     public double pdiff = 0.0;
30 
31     /** Default constructor. */
PackageDiff(String name)32     public PackageDiff(String name) {
33         name_ = name;
34         classesAdded = new ArrayList(); // ClassAPI[]
35         classesRemoved = new ArrayList(); // ClassAPI[]
36         classesChanged = new ArrayList(); // ClassDiff[]
37     }
38 }
39