diff --git a/.travis.yml b/.travis.yml index dff5f3a5d..0b1d0a2a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,13 @@ language: java + +script: + - ./gradlew check + - ./gradlew javadoc + +deploy: + provider: pages + skip_cleanup: true + github_token: $GITHUB_TOKEN # Set in travis-ci.org dashboard + local_dir: build/docs + on: + branch: master diff --git a/src/main/java/org/schabi/newpipe/extractor/Info.java b/src/main/java/org/schabi/newpipe/extractor/Info.java index c704717e6..c2445bd61 100644 --- a/src/main/java/org/schabi/newpipe/extractor/Info.java +++ b/src/main/java/org/schabi/newpipe/extractor/Info.java @@ -10,7 +10,7 @@ public abstract class Info implements Serializable { public final int service_id; /** * Id of this Info object
- * e.g. Youtube: https://www.youtube.com/watch?v=RER5qCTzZ7 > RER5qCTzZ7 + * e.g. Youtube: https://www.youtube.com/watch?v=RER5qCTzZ7 > RER5qCTzZ7 */ public final String id; public final String url; diff --git a/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java b/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java index 770305376..d2381bc5f 100644 --- a/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java +++ b/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java @@ -63,7 +63,8 @@ public class SoundcloudParsingHelper { } /** - * Call the endpoint "/resolve" of the api.
+ * Call the endpoint "/resolve" of the api.

+ * * See https://developers.soundcloud.com/docs/api/reference#resolve */ public static JsonObject resolveFor(String url) throws IOException, ReCaptchaException, ParsingException { @@ -79,7 +80,7 @@ public class SoundcloudParsingHelper { } /** - * Fetch the embed player with the apiUrl and return the canonical url (like the permalink_url from the json api).
+ * Fetch the embed player with the apiUrl and return the canonical url (like the permalink_url from the json api). * * @return the url resolved */ @@ -92,7 +93,7 @@ public class SoundcloudParsingHelper { } /** - * Fetch the embed player with the url and return the id (like the id from the json api).
+ * Fetch the embed player with the url and return the id (like the id from the json api). * * @return the id resolved */ diff --git a/src/main/java/org/schabi/newpipe/extractor/utils/Utils.java b/src/main/java/org/schabi/newpipe/extractor/utils/Utils.java index 9c4d352c3..be52a5ab8 100644 --- a/src/main/java/org/schabi/newpipe/extractor/utils/Utils.java +++ b/src/main/java/org/schabi/newpipe/extractor/utils/Utils.java @@ -12,9 +12,9 @@ public class Utils { /** * Remove all non-digit characters from a string.

- * Examples:
- *

+ * Examples:

+ *

* * @param toRemove string to remove non-digit chars * @return a string that contains only digits