Compare commits

...

4 Commits

Author SHA1 Message Date
luca.frosini 29e5457f16 Ignored MacOs File 2023-06-21 11:30:49 +02:00
Luca Frosini 5fd7f02788 fixed changelog 2021-11-22 14:18:38 +01:00
Luca Frosini 7a00eda3fa Fixed log 2021-05-25 11:07:14 +02:00
Luca Frosini 7268dc7a72 Moved a link a in a comment from http to https #20776 2021-02-22 09:17:07 +01:00
5 changed files with 9 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
target
.classpath
.project
/.DS_Store

View File

@ -2,8 +2,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for Document Store Library
## [v3.0.1-SNAPSHOT]
## [v3.0.0] [r5.0.0] -
- Fixed log which causes null pointer exception in case of null value provided
## [v3.0.0]
- Switched JSON management to gcube-jackson [#19115]
- Changed the way to manage scheduled thread termination [#18547]

View File

@ -10,7 +10,7 @@
<groupId>org.gcube.data.publishing</groupId>
<artifactId>document-store-lib</artifactId>
<version>3.0.0</version>
<version>3.0.1-SNAPSHOT</version>
<name>Document Store Library</name>
<description>
Document Store Library:

View File

@ -18,7 +18,7 @@ import java.util.jar.JarFile;
/**
* Got from
* http://stackoverflow.com/questions/520328/can-you-find-all-classes-in-a-package-using-reflection#answer-22462785
* https://stackoverflow.com/questions/520328/can-you-find-all-classes-in-a-package-using-reflection#answer-22462785
*
* The method first gets the current ClassLoader. It then fetches all resources
* that contain said package and iterates of these URLs. It then creates a

View File

@ -409,7 +409,7 @@ public abstract class AbstractRecord implements Record {
return null;
}
} catch (InvalidValueException e) {
logger.error(String.format("The provided value %s is NOT valid for field with key %s.", checkedValue.toString(), key));
logger.error(String.format("The provided value %s is NOT valid for field with key %s.", checkedValue, key));
throw e;
}
}