diff --git a/src/main/java/com/commafeed/frontend/pages/GoogleImportCallbackPage.java b/src/main/java/com/commafeed/frontend/pages/GoogleImportCallbackPage.java index 95c09666..bbf99cf0 100644 --- a/src/main/java/com/commafeed/frontend/pages/GoogleImportCallbackPage.java +++ b/src/main/java/com/commafeed/frontend/pages/GoogleImportCallbackPage.java @@ -28,17 +28,18 @@ import com.google.api.client.json.jackson2.JacksonFactory; @SuppressWarnings("serial") public class GoogleImportCallbackPage extends WebPage { + private static final String TOKEN_URL = "https://accounts.google.com/o/oauth2/token"; + private static final String EXPORT_URL = "https://www.google.com/reader/subscriptions/export"; + @Inject ApplicationSettingsService applicationSettingsService; @Inject OPMLImporter importer; + @Inject UserService userService; - private static final String TOKEN_URL = "https://accounts.google.com/o/oauth2/token"; - private static final String EXPORT_URL = "https://www.google.com/reader/subscriptions/export"; - public static String getCallbackUrl() { RequestCycle cycle = RequestCycle.get(); UrlRenderer renderer = cycle.getUrlRenderer();