Skip to content

Commit fc8affb

Browse files
dwalluckgoneall
authored andcommitted
Add back old methods and mark them deprecated
1 parent b3b9865 commit fc8affb

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

src/main/java/org/spdx/utility/compare/SpdxComparer.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1462,6 +1462,15 @@ public boolean isExternalDocumentRefsEquals() throws SpdxCompareException {
14621462
return _isExternalDocumentRefsEqualsNoCheck();
14631463
}
14641464

1465+
/**
1466+
* @return true if the external document refs are equal
1467+
* @throws SpdxCompareException on compare errors
1468+
*/
1469+
@Deprecated
1470+
public boolean isExternalDcoumentRefsEquals() throws SpdxCompareException {
1471+
return isExternalDocumentRefsEquals();
1472+
}
1473+
14651474
/**
14661475
* @return true if the extracted licensing infos are equal
14671476
* @throws SpdxCompareException on compare errors
@@ -1611,6 +1620,15 @@ public boolean isFilesEquals() throws SpdxCompareException {
16111620
return this._isFilesEqualsNoCheck();
16121621
}
16131622

1623+
/**
1624+
* @return true if the files are equal
1625+
* @throws SpdxCompareException on compare errors
1626+
*/
1627+
@Deprecated
1628+
public boolean isfilesEquals() throws SpdxCompareException {
1629+
return isFilesEquals();
1630+
}
1631+
16141632
/**
16151633
* @return true if the packages are equal
16161634
* @throws SpdxCompareException on compare errors

src/main/java/org/spdx/utility/compare/SpdxItemComparer.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,14 @@ public boolean isLicenseCommentsEquals() throws SpdxCompareException {
348348
return licenseCommentsEquals;
349349
}
350350

351+
/**
352+
* @return the licenseCommentsEquals
353+
*/
354+
@Deprecated
355+
public boolean isLicenseCommmentsEquals() throws SpdxCompareException {
356+
return isLicenseCommentsEquals();
357+
}
358+
351359
/**
352360
* checks to make sure there is not a compare in progress
353361
* @throws SpdxCompareException on compare errors

0 commit comments

Comments
 (0)