From 41cbb1516a99febb192dd5b90e22158e30a8656d Mon Sep 17 00:00:00 2001 From: Athou Date: Fri, 5 Apr 2013 16:38:39 +0200 Subject: [PATCH] cleanup --- .../commafeed/frontend/pages/GoogleImportCallbackPage.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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();