git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix tests:
[fanfix.git]
/
src
/
be
/
nikiroo
/
fanfix
/
supported
/
FimfictionApi.java
diff --git
a/src/be/nikiroo/fanfix/supported/FimfictionApi.java
b/src/be/nikiroo/fanfix/supported/FimfictionApi.java
index 3319bbeed3a93e0076747adf50607c0447a863a0..6ef8a2cc70d8bb65e7c32b4b94fce81d96f07bea 100644
(file)
--- a/
src/be/nikiroo/fanfix/supported/FimfictionApi.java
+++ b/
src/be/nikiroo/fanfix/supported/FimfictionApi.java
@@
-23,7
+23,7
@@
import be.nikiroo.utils.Progress;
*
* @author niki
*/
*
* @author niki
*/
-class FimfictionApi extends BasicSupport {
+class FimfictionApi extends BasicSupport
_Deprecated
{
private String oauth;
private String storyId;
private String json;
private String oauth;
private String storyId;
private String json;
@@
-128,7
+128,7
@@
class FimfictionApi extends BasicSupport {
meta.setPublisher(getSourceName());
meta.setUuid(source.toString());
meta.setLuid("");
meta.setPublisher(getSourceName());
meta.setUuid(source.toString());
meta.setLuid("");
- meta.setLang("
EN
");
+ meta.setLang("
en
");
meta.setSubject("MLP");
meta.setType(getType().toString());
meta.setImageDocument(false);
meta.setSubject("MLP");
meta.setType(getType().toString());
meta.setImageDocument(false);
@@
-254,6
+254,7
@@
class FimfictionApi extends BasicSupport {
null, null);
String jsonToken = IOUtils.readSmallStream(in);
null, null);
String jsonToken = IOUtils.readSmallStream(in);
+ in.close();
// Extract token type and token from: {
// token_type = "Bearer",
// Extract token type and token from: {
// token_type = "Bearer",