Skip to content

Commit 84d5635

Browse files
bactgoneall
andcommitted
Update src/main/java/org/spdx/utility/compare/LicenseCompareHelper.java
Co-authored-by: Gary O'Neall <gary@sourceauditor.com> Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
1 parent 41333a3 commit 84d5635

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public static String locateOriginalText(String fullLicenseText, int startToken,
232232
* @return {@code true} if the text contains a single token,
233233
* {@code false} otherwise.
234234
*/
235-
public static boolean isSingleTokenString(String text) {
235+
public static boolean isSingleTokenString(@Nullable String text) {
236236
if (text == null) {
237237
return false;
238238
}

0 commit comments

Comments
 (0)