Skip to content

Commit d7f9d72

Browse files
committed
Minor Fix, v2.0.1
1 parent 9262e1b commit d7f9d72

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

0 Bytes
Binary file not shown.
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
package com.kwabenaberko.openweathermaplib.models.threehourforecast;
22

3+
import com.google.gson.annotations.SerializedName;
4+
35
public class Precipitation {
6+
7+
@SerializedName("3h")
48
private double threeHour;
59

6-
public double getThreeHour() {
10+
public double get3h() {
711
return threeHour;
812
}
913

10-
public void setThreeHour(double threeHour) {
14+
public void set3h(double threeHour) {
1115
this.threeHour = threeHour;
1216
}
1317
}

sample/src/main/java/com/kwabenaberko/openweathermap/MainActivity.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ protected void onCreate(Bundle savedInstanceState) {
3232
This Example Only Shows how to get current weather by city name
3333
Check the docs for more methods [https://github.com/KwabenBerko/OpenWeatherMap-Android-Library/]
3434
*/
35-
3635
helper.getCurrentWeatherByCityName("Accra", new CurrentWeatherCallback() {
3736
@Override
3837
public void onSuccess(CurrentWeather currentWeather) {

0 commit comments

Comments
 (0)