private String filename = null;\r
\r
private String tagName = null;\r
- \r
+\r
private String toolCode = null;\r
- \r
+\r
private String toolChainFamily = null;\r
- \r
+\r
private Vector<String> supArchList = null;\r
\r
private String featureFlag = null;\r
\r
- public SourceFilesIdentification(String strFilename, String strTagName, String strToolCode, String strToolChainFamily,\r
- String strFeatureFlag, Vector<String> arch) {\r
+ public SourceFilesIdentification(String strFilename, String strTagName, String strToolCode,\r
+ String strToolChainFamily, String strFeatureFlag, Vector<String> arch) {\r
this.filename = (strFilename == null ? "" : strFilename);\r
this.tagName = (strTagName == null ? "" : strTagName);\r
this.toolCode = (strToolCode == null ? "" : strToolCode);\r
public void setToolCode(String toolCode) {\r
this.toolCode = toolCode;\r
}\r
- \r
+\r
public boolean equals(SourceFilesIdentification sfid) {\r
- if (this.filename.equals(sfid.filename)) {\r
+ if (this.filename.equals(sfid.filename) && this.tagName.equals(sfid.tagName)\r
+ && this.toolCode.equals(sfid.toolCode) && this.toolChainFamily.equals(sfid.toolChainFamily)\r
+ && this.featureFlag.equals(sfid.featureFlag)\r
+ && this.supArchList.toString().equals(sfid.supArchList.toString())) {\r
return true;\r
}\r
return false;\r