Project

General

Profile

« Previous | Next » 

Revision 49202

1. Fix import from csv.
2. Fix pie chart issue. Change request status ( code -> value ).

View differences:

StatsManagerImpl.java
161 161
				if(rs[0] == null) rs[0] = "";
162 162
				if(rs[2] == null) rs[2] = "0.0";
163 163
				if(rs[3] == null) rs[3] = "0.0";
164
				
164

  
165

  
165 166
				if(category != Series.Category.STATUS)
166 167
					q = new Quadruple<>(rs[0].toString(),
167 168
							Integer.parseInt(rs[1].toString()), Float.parseFloat(rs[2].toString()), Float.parseFloat(rs[3].toString()));
168 169
				else
169
					q = new Quadruple<>(rs[0].toString(),
170
					q = new Quadruple<>(Request.RequestStatus.forStatus((Integer) rs[0]).getValue(),
170 171
							Integer.parseInt(rs[1].toString()), Float.parseFloat(rs[2].toString()), Float.parseFloat(rs[3].toString()));
171 172
				l.add(q);
172 173
			}

Also available in: Unified diff