Skip to content

Commit e30f100

Browse files
committed
🚑 Move properties file out of the way, as it interferes with downstream files
1 parent 63cb36d commit e30f100

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

resources/licenses.properties

Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# if true, use licenses from stored set of licenses rather than from the spdx.org/licenses website
2+
SPDXParser.OnlyUseLocalLicenses=false
3+
4+
# if true, enable a local download cache for listed license files downloaded from the SPDX website
5+
org.spdx.storage.listedlicense.enableCache=false
6+
7+
# local download cache re-check interval, in seconds
8+
org.spdx.storage.listedlicense.cacheCheckIntervalSecs=86400

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ private static Properties loadProperties(final String propertiesFileName) {
101101
} catch (IOException e) {
102102
// Ignore it and fall through
103103
logger.warn("IO Exception reading configuration properties file '" + propertiesFileName + "': " + e.getMessage(), e);
104+
result = null;
104105
} finally {
105106
if (in != null) {
106107
try {

0 commit comments

Comments
 (0)