From 1c0d00582dc0a191abe7b51e1b831e88f9a87def Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Mon, 4 Mar 2019 06:29:46 +0100 Subject: [PATCH] fix warnings --- src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java | 2 +- src/be/nikiroo/fanfix/supported/FimfictionApi.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java b/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java index ba474841..f8ea9d46 100644 --- a/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java +++ b/src/be/nikiroo/fanfix/supported/BasicSupport_Deprecated.java @@ -40,7 +40,6 @@ import be.nikiroo.utils.StringUtils; @Deprecated public abstract class BasicSupport_Deprecated extends BasicSupport { private InputStream in; - private URL currentReferer; // with only one 'r', as in 'HTTP'... // quote chars private char openQuote = Instance.getTrans().getCharacter( @@ -75,6 +74,7 @@ public abstract class BasicSupport_Deprecated extends BasicSupport { throw new RuntimeException("should not be used by legacy code"); } + @Override public Story process(Progress pg) throws IOException { return process(getSource(), pg); } diff --git a/src/be/nikiroo/fanfix/supported/FimfictionApi.java b/src/be/nikiroo/fanfix/supported/FimfictionApi.java index f31f8566..a99986f2 100644 --- a/src/be/nikiroo/fanfix/supported/FimfictionApi.java +++ b/src/be/nikiroo/fanfix/supported/FimfictionApi.java @@ -212,7 +212,7 @@ class FimfictionApi extends BasicSupport { List> urls = new ArrayList>(); for (String title : chapterNames.values()) { - urls.add(new AbstractMap.SimpleEntry(title, null)); + urls.add(new AbstractMap.SimpleEntry(title, null)); } return urls; -- 2.27.0