Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
luca.frosini | 29e5457f16 | |
Luca Frosini | 5fd7f02788 | |
Luca Frosini | 7a00eda3fa | |
Luca Frosini | 7268dc7a72 |
|
@ -1,3 +1,4 @@
|
||||||
target
|
target
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
|
/.DS_Store
|
||||||
|
|
|
@ -2,8 +2,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||||
|
|
||||||
# Changelog for Document Store Library
|
# 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]
|
- Switched JSON management to gcube-jackson [#19115]
|
||||||
- Changed the way to manage scheduled thread termination [#18547]
|
- Changed the way to manage scheduled thread termination [#18547]
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<groupId>org.gcube.data.publishing</groupId>
|
<groupId>org.gcube.data.publishing</groupId>
|
||||||
<artifactId>document-store-lib</artifactId>
|
<artifactId>document-store-lib</artifactId>
|
||||||
<version>3.0.0</version>
|
<version>3.0.1-SNAPSHOT</version>
|
||||||
<name>Document Store Library</name>
|
<name>Document Store Library</name>
|
||||||
<description>
|
<description>
|
||||||
Document Store Library:
|
Document Store Library:
|
||||||
|
|
|
@ -18,7 +18,7 @@ import java.util.jar.JarFile;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Got from
|
* 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
|
* 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
|
* that contain said package and iterates of these URLs. It then creates a
|
||||||
|
|
|
@ -409,7 +409,7 @@ public abstract class AbstractRecord implements Record {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
} catch (InvalidValueException e) {
|
} 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;
|
throw e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue