- Row therow = results.one();
- Total res = new Total(therow.getLong("Total"), therow.getLong("TotalOK"), therow.getLong("TotalStopped"),
- therow.getLong("TotalError"), therow.getLong("TotalTimeOut"));
+ Row row = results.one();
+ long nOK = row.getLong("TotalOK");
+ long nStopped = row.getLong("TotalStopped");
+ long nError = row.getLong("TotalError");
+ long nTimeOut = row.getLong("TotalTimeOut");
+ Total res = new Total(nOK + nStopped + nError + nTimeOut, nOK, nStopped, nError, nTimeOut);