stevespringett / nist-data-mirror

A simple Java command-line utility to mirror the CVE JSON data from NIST.
Apache License 2.0
206 stars 93 forks source link

implements #46 by also downloading JSON 1.1 #48

Closed ghost closed 4 years ago

ghost commented 4 years ago

This change downloads the JSON files of both version 1.0 and 1.1.

To achieve this without duplicating code, I've moved the file name constants to a map keyed by the version.

stevespringett commented 4 years ago

Thanks for the PR