spdx / tools

SPDX Tools
Apache License 2.0
123 stars 68 forks source link

Replace conditional with polymorphism refactoring in LicenseInfoFactory class #300

Open asadshaik1103 opened 2 years ago

asadshaik1103 commented 2 years ago

Replace conditional with polymorphism can be performed in getLicenseInfoByType method in LicenseInfoFactory class.