mirror of
https://github.com/Prominence/openweathermap-java-api.git
synced 2026-07-03 03:06:45 +03:00
Changed basic package name. Improved 'pom.xml' configuration.
This commit is contained in:
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api;
|
||||
package com.github.prominence.openweathermap.api;
|
||||
|
||||
abstract class AuthenticationTokenBasedRequester {
|
||||
|
||||
+6
-6
@@ -20,13 +20,13 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api;
|
||||
package com.github.prominence.openweathermap.api;
|
||||
|
||||
import by.prominence.openweathermap.api.constants.System;
|
||||
import by.prominence.openweathermap.api.constants.Unit;
|
||||
import by.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
import by.prominence.openweathermap.api.model.Coordinates;
|
||||
import com.github.prominence.openweathermap.api.constants.System;
|
||||
import com.github.prominence.openweathermap.api.constants.Unit;
|
||||
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
import com.github.prominence.openweathermap.api.model.Coordinates;
|
||||
|
||||
import java.net.MalformedURLException;
|
||||
import java.net.URL;
|
||||
+7
-7
@@ -20,14 +20,14 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api;
|
||||
package com.github.prominence.openweathermap.api;
|
||||
|
||||
import by.prominence.openweathermap.api.constants.Unit;
|
||||
import by.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
import by.prominence.openweathermap.api.model.response.HourlyForecast;
|
||||
import by.prominence.openweathermap.api.utils.JsonUtils;
|
||||
import by.prominence.openweathermap.api.utils.RequestUtils;
|
||||
import com.github.prominence.openweathermap.api.constants.Unit;
|
||||
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
import com.github.prominence.openweathermap.api.model.response.HourlyForecast;
|
||||
import com.github.prominence.openweathermap.api.utils.JsonUtils;
|
||||
import com.github.prominence.openweathermap.api.utils.RequestUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api;
|
||||
package com.github.prominence.openweathermap.api;
|
||||
|
||||
public class OpenWeatherMapManager {
|
||||
|
||||
+7
-7
@@ -20,14 +20,14 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api;
|
||||
package com.github.prominence.openweathermap.api;
|
||||
|
||||
import by.prominence.openweathermap.api.constants.Unit;
|
||||
import by.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
import by.prominence.openweathermap.api.model.response.Weather;
|
||||
import by.prominence.openweathermap.api.utils.JsonUtils;
|
||||
import by.prominence.openweathermap.api.utils.RequestUtils;
|
||||
import com.github.prominence.openweathermap.api.constants.Unit;
|
||||
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
import com.github.prominence.openweathermap.api.model.response.Weather;
|
||||
import com.github.prominence.openweathermap.api.utils.JsonUtils;
|
||||
import com.github.prominence.openweathermap.api.utils.RequestUtils;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.constants;
|
||||
package com.github.prominence.openweathermap.api.constants;
|
||||
|
||||
public final class Accuracy {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.constants;
|
||||
package com.github.prominence.openweathermap.api.constants;
|
||||
|
||||
public final class Language {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.constants;
|
||||
package com.github.prominence.openweathermap.api.constants;
|
||||
|
||||
public final class System {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.constants;
|
||||
package com.github.prominence.openweathermap.api.constants;
|
||||
|
||||
public final class Unit {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.exception;
|
||||
package com.github.prominence.openweathermap.api.exception;
|
||||
|
||||
public class DataNotFoundException extends Exception {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.exception;
|
||||
package com.github.prominence.openweathermap.api.exception;
|
||||
|
||||
public class InvalidAuthTokenException extends Exception {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model;
|
||||
package com.github.prominence.openweathermap.api.model;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model;
|
||||
package com.github.prominence.openweathermap.api.model;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model;
|
||||
package com.github.prominence.openweathermap.api.model;
|
||||
|
||||
public interface OpenWeatherResponse {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model;
|
||||
package com.github.prominence.openweathermap.api.model;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model;
|
||||
package com.github.prominence.openweathermap.api.model;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model;
|
||||
package com.github.prominence.openweathermap.api.model;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model;
|
||||
package com.github.prominence.openweathermap.api.model;
|
||||
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
|
||||
+2
-2
@@ -20,10 +20,10 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model.response;
|
||||
package com.github.prominence.openweathermap.api.model.response;
|
||||
|
||||
import by.prominence.openweathermap.api.model.*;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.github.prominence.openweathermap.api.model.*;
|
||||
|
||||
import java.util.Comparator;
|
||||
import java.util.Date;
|
||||
+2
-2
@@ -20,10 +20,10 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.model.response;
|
||||
package com.github.prominence.openweathermap.api.model.response;
|
||||
|
||||
import by.prominence.openweathermap.api.model.*;
|
||||
import com.alibaba.fastjson.annotation.JSONField;
|
||||
import com.github.prominence.openweathermap.api.model.*;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.utils;
|
||||
package com.github.prominence.openweathermap.api.utils;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
|
||||
+3
-3
@@ -20,10 +20,10 @@
|
||||
* SOFTWARE.
|
||||
*/
|
||||
|
||||
package by.prominence.openweathermap.api.utils;
|
||||
package com.github.prominence.openweathermap.api.utils;
|
||||
|
||||
import by.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import by.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
import com.github.prominence.openweathermap.api.exception.DataNotFoundException;
|
||||
import com.github.prominence.openweathermap.api.exception.InvalidAuthTokenException;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
Reference in New Issue
Block a user