Skip to content

Commit

Permalink
added setter for SrcFileString
Browse files Browse the repository at this point in the history
  • Loading branch information
Schaef committed Jan 25, 2018
1 parent dbd3c65 commit ef0568a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/bixie/Options.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ public String getJSONDir() {
@Option(name = "-src", usage = "List of all source files separated by colon, or list of root folders.")
private String srcFilesString=null;
private Set<String> sourceFiles = null;
public void setSrcFileString(String s) {
srcFilesString = s;
sourceFiles = null;
getSrcFilesString();
}
public Set<String> getSrcFilesString() {
if (srcFilesString!=null && sourceFiles==null) {
String[] files = srcFilesString.split(File.pathSeparator);
Expand Down

0 comments on commit ef0568a

Please sign in to comment.