CodesAway / CodesAway/BEXCodeCompare
CodeInfoWithSourceInfo.compareTo throws NullPointerException if any of the compared fields are null (such as package name)
Open
bug
- Dominant language
- Java
- Stars
- 7
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Suggested fix is to add null checks via Objects.requireNonNull as part of the constructor.
For package name, if null if passed, treat as blank (don't throw error).
Need to also update the following methods to handle a blank package name correctly
* getClassName
* getQualifiedClassName
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.