Change BasicSupport to use jsoup
[nikiroo-utils.git] / src / be / nikiroo / fanfix / supported / FimfictionApi.java
index 3319bbeed3a93e0076747adf50607c0447a863a0..231405b96f9678e7c233fb097ff6b7a51012d424 100644 (file)
@@ -23,7 +23,7 @@ import be.nikiroo.utils.Progress;
  * 
  * @author niki
  */
-class FimfictionApi extends BasicSupport {
+class FimfictionApi extends BasicSupport_Deprecated {
        private String oauth;
        private String storyId;
        private String json;
@@ -254,6 +254,7 @@ class FimfictionApi extends BasicSupport {
                                null, null);
 
                String jsonToken = IOUtils.readSmallStream(in);
+               in.close();
 
                // Extract token type and token from: {
                // token_type = "Bearer",