Skip to content

Commit 01cbb0a

Browse files
bactgoneall
andauthored
Update src/main/java/org/spdx/utility/compare/LicenseCompareHelper.java
Co-authored-by: Gary O'Neall <[email protected]> Signed-off-by: Arthit Suriyawongkul <[email protected]>
1 parent f5dbc02 commit 01cbb0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public static String locateOriginalText(String fullLicenseText, int startToken,
223223
* @return {@code true} if the text contains a single token,
224224
* {@code false} otherwise.
225225
*/
226-
public static boolean isSingleTokenString(String text) {
226+
public static boolean isSingleTokenString(@Nullable String text) {
227227
if (text == null) {
228228
return false;
229229
}

0 commit comments

Comments
 (0)