Displaying differences for changeset |
@@ -27,7 +27,7 @@ |
double temp = getDoubleParam("temp_c"); |
String un = getParamUnit("temp_c"); |
if (un.equals("C")) { |
- putResult("temp", temp * 9 / 5 + 32, "F"); |
+ putResult("temp", temp * 9 / 5 + 32,"temperature", "F"); |
return; |
} |
throw new ServiceException("missing unit."); |