Skip to content

Commit

Permalink
Add support to add a list of components from a List
Browse files Browse the repository at this point in the history
  • Loading branch information
adolfoweloy committed Jan 21, 2015
1 parent 6e0d306 commit db80655
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/jdepend/framework/JDepend.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,16 @@ public void setComponents(String components) {
}
}

/**
* Sets the list of components from a List of string package names.
*
* @param components within the list
*/
public void setComponents(List components) {
this.components = new ArrayList();
this.components.addAll(components);
}

/**
* Determines whether inner classes are analyzed.
*
Expand Down

0 comments on commit db80655

Please sign in to comment.