[Bug]: ModificationStatus throws exception for no good reason?
Open
bug
- Dominant language
- Java
- Stars
- 2k
- Forks
- 392
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 36
Description
### Describe the bug
Consider revising `ModificationStatus` to `return false` instead of throwing an exception.
``` java
public boolean toBoolean() {
if (this == MODIFIED) {
return true;
}
if (this == NOT_MODIFIED) {
return false;
}
return false;
}
```
### Source code you are trying to analyze/transform
_No response_
### Source code for your Spoon processing
_No response_
### Actual output
_No response_
### Expected output
_No response_
### Spoon Version
Latest
### JVM Version
18
### What operating system are you using?
Arch Linux
Contributor guide
Assessment
This issue has not been assessed yet.