diff --git a/pom.xml b/pom.xml index fb741f9..3d91eca 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.github.adriens.imgflip imgflip4j - 1.8 + 1.9 jar A Java SDK to interact with Imgflip API. diff --git a/src/main/java/com/github/adriens/imgflip/sdk/imgflip/sdk/ImgFlipURLHelper.java b/src/main/java/com/github/adriens/imgflip/sdk/imgflip/sdk/ImgFlipURLHelper.java index 24d1247..bc410cf 100644 --- a/src/main/java/com/github/adriens/imgflip/sdk/imgflip/sdk/ImgFlipURLHelper.java +++ b/src/main/java/com/github/adriens/imgflip/sdk/imgflip/sdk/ImgFlipURLHelper.java @@ -118,7 +118,7 @@ public static String getPathOfTopLastYear(String stream, int page){ String sortOpt = "top-" + dateFormat.format(lDate); return getPathOfTop(stream, sortOpt, page); } - public static String getPathOfTopLastYear(String stream){ + public static String getPathOfTopLastYear(String stream){ return getPathOfTopLastYear(stream, 1); } public static String getPathOfTopOfMonthOfYear(String stream, int year, int month, int page){ @@ -128,12 +128,12 @@ public static String getPathOfTopOfMonthOfYear(String stream, int year, int mont public static String getPathOfTopOfMonthOfYear(String stream, int year, int month){ return getPathOfTopOfMonthOfYear(stream, year, month, 1); } - public static String getPathOfTopOfMonthOfYearWithPage(String stream, int year, int page){ + public static String getPathOfTopOfYearWithPage(String stream, int year, int page){ String sortOpt = "top-" + year; return getPathOfTop(stream, sortOpt, page); } - public static String getPathOfTopOfMonthOfYear(String stream, int year){ - return getPathOfTopOfMonthOfYearWithPage(stream, year, 1); + public static String getPathOfTopOfYear(String stream, int year){ + return getPathOfTopOfYearWithPage(stream, year, 1); } public static void main(String[] arg){