issues
search
SoftwareDesignLab
/
nvip-crawler
Crawler project for National Vulnerability Integlligence Platform
MIT License
0
stars
0
forks
source link
Refactored PyPaYamlFile
#155
Closed
ctevse
closed
1 year ago
ctevse
commented
1 year ago
Moved initialization into a static from method
This separates how the object is created from what medium it can be created from
Changed get's to getOrDefaults
This allows nullpointers to be eaten and replaced with a default value
Removed affected and references
These are not used outside of parsing, so they should be removed
If they are needed in the future, we should parse them into proper objects, not the generic Object
Added tests to support the refactor
Closes #152
Closes #152