Skip to content

Commit ec93d06

Browse files
committed
📚 Add note about deprecated properties file name
1 parent e4e3dda commit ec93d06

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/org/spdx/Configuration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public final class Configuration {
4242
private Configuration() {
4343
Properties tmpProperties = loadProperties(CONFIGURATION_PROPERTIES_FILENAME);
4444
if (tmpProperties == null) {
45+
// This is to preserve backwards compatibility with version 1.1.7 of the library and earlier
4546
tmpProperties = loadProperties(DEPRECATED_CONFIGURATION_PROPERTIES_FILENAME);
4647
if (tmpProperties != null) {
4748
logger.warn("You are using a deprecated property filename ('" + DEPRECATED_CONFIGURATION_PROPERTIES_FILENAME + "'). Please consider migrating to the new name ('" + CONFIGURATION_PROPERTIES_FILENAME + "').");

0 commit comments

Comments
 (0)