forked from Archives/Athou_commafeed
cleanup
This commit is contained in:
@@ -28,17 +28,18 @@ import com.google.api.client.json.jackson2.JacksonFactory;
|
|||||||
@SuppressWarnings("serial")
|
@SuppressWarnings("serial")
|
||||||
public class GoogleImportCallbackPage extends WebPage {
|
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
|
@Inject
|
||||||
ApplicationSettingsService applicationSettingsService;
|
ApplicationSettingsService applicationSettingsService;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
OPMLImporter importer;
|
OPMLImporter importer;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
UserService userService;
|
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() {
|
public static String getCallbackUrl() {
|
||||||
RequestCycle cycle = RequestCycle.get();
|
RequestCycle cycle = RequestCycle.get();
|
||||||
UrlRenderer renderer = cycle.getUrlRenderer();
|
UrlRenderer renderer = cycle.getUrlRenderer();
|
||||||
|
|||||||
Reference in New Issue
Block a user