Project

General

Profile

« Previous | Next » 

Revision 52927

DataInfo from optional to repeatable in proto for Context. Changed the method to add new DataInfo from setDataInfo to addDataInfo

View differences:

modules/dnet-openaireplus-workflows/branches/solr7/src/main/java/eu/dnetlib/msro/openaireplus/workflows/nodes/claims/ApplyClaimUpdatesJobNode.java
68 68
	}
69 69

  
70 70
	private Context getContext(final String sourceId) {
71
		return Context.newBuilder().setDataInfo(getDataInfo()).setId(sourceId).build();
71
		return Context.newBuilder().addDataInfo(getDataInfo()).setId(sourceId).build();
72
		//return Context.newBuilder().setDataInfo(getDataInfo()).setId(sourceId).build();
72 73
	}
73 74
}

Also available in: Unified diff