Commit 1ecc8c4f authored by Alexander Mühlbauer's avatar Alexander Mühlbauer
Browse files

DDIElementListLoadCallable -> Instatiate StudyUnit instead of DDIElement, see...

DDIElementListLoadCallable -> Instatiate StudyUnit instead of DDIElement, see also https://git.gesis.org/stardat/stardat-ddi-entities/issues/104
parent a10010fb
......@@ -22,7 +22,7 @@ public class DDIElementListLoadCallable<T> implements Callable<Object>
public DDIElement call() throws Exception
{
DDIElement element = new DDIElement();
DDIElement element = new StudyUnit();
DDIStore ddiStore = getRestClient().getElement( getReference(), DDIElement.STUDYUNIT, getReference() );
// logger.debug( "Load study: " + getReference() );
......
......@@ -118,7 +118,7 @@ public class DDIFlatDBLoadAndSerializationTest
for ( String ref : studyGroups.get( 0 ).getStudyReference() )
{
Callable<DDIElement> callableObj = () -> {
DDIElement element = new DDIElement();
DDIElement element = new StudyUnit();
DDIStore ddiStore = getRestClient().getElement( ref, DDIElement.STUDYUNIT, ref );
logger.debug( "add study to callable: " + ref );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment