示例#1
0
 /* (non-Javadoc)
  * @see org.spdx.compare.AbstractFileCompareSheet#getFileValue(org.spdx.rdfparser.SpdxFile)
  */
 @Override
 String getFileValue(SpdxFile spdxFile) {
   if (spdxFile.getComment() == null) {
     return "";
   } else {
     return spdxFile.getComment();
   }
 }
示例#2
0
 /* (non-Javadoc)
  * @see org.spdx.compare.AbstractFileCompareSheet#valuesMatch(org.spdx.compare.SpdxComparer, org.spdx.rdfparser.SpdxFile, int, org.spdx.rdfparser.SpdxFile, int)
  */
 @Override
 boolean valuesMatch(
     SpdxComparer comparer, SpdxFile fileA, int docIndexA, SpdxFile fileB, int docIndexB)
     throws SpdxCompareException {
   return SpdxComparer.stringsEqual(fileA.getComment(), fileB.getComment());
 }