minor fix for TimeSeries toString method
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@162758 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
726c05cd00
commit
a2509fb9b1
|
@ -3,9 +3,6 @@
|
|||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||
<dependent-module archiveName="grsf-common-library-1.0.1-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/grsf-common-library/grsf-common-library">
|
||||
<dependency-type>uses</dependency-type>
|
||||
</dependent-module>
|
||||
<property name="context-root" value="grsf-publisher-ws"/>
|
||||
<property name="java-output-path" value="/grsf-publisher-ws/target/classes"/>
|
||||
</wb-module>
|
||||
|
|
|
@ -140,7 +140,7 @@ public class TimeSeriesBean<T, T1> implements Comparable<TimeSeriesBean<T, T1>>{
|
|||
String dataOwner = (this.dataOwner != null ? " - Data Owner: " + this.dataOwner : "");
|
||||
String referenceYear = year >= 0 ? " - Ref. Year: " + year : "";
|
||||
String reportingYearOrAssessment = (assessment != null ? " - Rep. Year or Assessment Id: " + assessment + "" : "");
|
||||
String partial = value + "[" +
|
||||
String partial = value + " [" +
|
||||
unit +
|
||||
reportingYearOrAssessment +
|
||||
referenceYear +
|
||||
|
@ -152,17 +152,17 @@ public class TimeSeriesBean<T, T1> implements Comparable<TimeSeriesBean<T, T1>>{
|
|||
|
||||
}
|
||||
|
||||
// public static void main(String[] args) {
|
||||
//
|
||||
// TimeSeriesBean<String, String> t = new TimeSeriesBean<String, String>();
|
||||
// t.setYear(1021L);
|
||||
// t.setDatabaseSource("tttt");
|
||||
// t.setDataOwner("zzzz");
|
||||
// t.setUnit("uuuu");
|
||||
// t.setValue("vvvv");
|
||||
// t.setAssessment("2015");
|
||||
// System.err.println("Result is \n" + t);
|
||||
//
|
||||
// }
|
||||
// public static void main(String[] args) {
|
||||
//
|
||||
// TimeSeriesBean<String, String> t = new TimeSeriesBean<String, String>();
|
||||
// t.setYear(1021L);
|
||||
// t.setDatabaseSource("tttt");
|
||||
// t.setDataOwner("zzzz");
|
||||
// t.setUnit("uuuu");
|
||||
// t.setValue("vvvv");
|
||||
// t.setAssessment("2015");
|
||||
// System.err.println("Result is \n" + t);
|
||||
//
|
||||
// }
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue