Changeset 142
- Timestamp:
- 08/31/16 15:35:42 (8 years ago)
- Location:
- trunk/CrossPare/src/de/ugoe/cs/cpdp
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CrossPare/src/de/ugoe/cs/cpdp/loader/AbstractFolderLoader.java
r135 r142 37 37 */ 38 38 protected String path = ""; 39 39 40 40 /** 41 41 * @see de.ugoe.cs.cpdp.loader.IVersionLoader#setLocation(java.lang.String) … … 58 58 return versions; 59 59 } 60 String datasetName = dataDir.getName(); 61 60 62 for (File projectDir : dataDir.listFiles()) { 61 63 if (projectDir.isDirectory()) { … … 70 72 List<Double> efforts = getEfforts(data); 71 73 versions 72 .add(new SoftwareVersion( projectName, versionName, data, efforts));74 .add(new SoftwareVersion(datasetName, projectName, versionName, data, efforts)); 73 75 } 74 76 } -
trunk/CrossPare/src/de/ugoe/cs/cpdp/versions/SoftwareVersion.java
r136 r142 26 26 public class SoftwareVersion implements Comparable<SoftwareVersion> { 27 27 28 private final String dataset; 29 28 30 /** 29 31 * name of the project … … 58 60 * review efforts for the version 59 61 */ 60 public SoftwareVersion(String project, 62 public SoftwareVersion(String dataset, 63 String project, 61 64 String version, 62 65 Instances instances, 63 66 List<Double> efforts) 64 67 { 68 this.dataset = dataset; 65 69 this.project = project; 66 70 this.version = version; … … 69 73 } 70 74 75 public String getDataset() { 76 return dataset; 77 } 78 71 79 /** 72 80 * returns the project name
Note: See TracChangeset
for help on using the changeset viewer.