Project

General

Profile

« Previous | Next » 

Revision 29387

Added by Eri Katsari over 10 years ago

View differences:

modules/dnet-openaire-stats/trunk/src/main/java/eu/dnetlib/data/mapreduce/hbase/statsExport/utils/Serializer.java
241 241
		List<StructuredProperty> Topics = metadata.getSubjectList();
242 242
		for (StructuredProperty topic : Topics) {
243 243
			// TODOs
244
			if (topic.getValue() != null && !topic.getValue().isEmpty() && !topic.getValue().equals("") && !topic.getValue().equals(" ") && !topic.getValue().equals("null")) {
245

  
244
			if (isValidTopic(topic.getValue())) {
246 245
				if (!isNumeric(topic.getValue())) {
247 246
					String t = getStringField(topic.getValue());
248 247
					if (isValidTopic(t)) {

Also available in: Unified diff