Project

General

Profile

« Previous | Next » 

Revision 53004

commented out shortcuts in score results evaluation

View differences:

ScoreResult.java
1 1
package eu.dnetlib.pace.distance.eval;
2 2

  
3
import com.google.gson.Gson;
3
import com.google.gson.GsonBuilder;
4 4

  
5 5
/**
6 6
 * Created by claudio on 09/03/16.
......
49 49

  
50 50
	@Override
51 51
	public String toString() {
52
		return new Gson().toJson(this);
52
		final GsonBuilder b = new GsonBuilder();
53
		return b.setPrettyPrinting().create().toJson(this);
53 54
	}
54 55
}

Also available in: Unified diff