Enforce valid javadoc
This commit is contained in:
parent
6a327f252c
commit
b2fb239853
|
@ -91,6 +91,9 @@
|
||||||
<property name="tokens" value="VARIABLE_DEF"/>
|
<property name="tokens" value="VARIABLE_DEF"/>
|
||||||
<property name="allowSamelineMultipleAnnotations" value="true"/>
|
<property name="allowSamelineMultipleAnnotations" value="true"/>
|
||||||
</module>
|
</module>
|
||||||
|
<module name="SingleLineJavadoc">
|
||||||
|
<property name="ignoreInlineTags" value="false"/>
|
||||||
|
</module>
|
||||||
<module name="NestedIfDepth">
|
<module name="NestedIfDepth">
|
||||||
<property name="max" value="4"/>
|
<property name="max" value="4"/>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
@ -689,7 +689,7 @@ public final class DBReader {
|
||||||
* Returns credentials based on image URL
|
* Returns credentials based on image URL
|
||||||
*
|
*
|
||||||
* @param imageUrl The URL of the image
|
* @param imageUrl The URL of the image
|
||||||
* @return Credentials in format "<Username>:<Password>", empty String if no authorization given
|
* @return Credentials in format "Username:Password", empty String if no authorization given
|
||||||
*/
|
*/
|
||||||
public static String getImageAuthentication(final String imageUrl) {
|
public static String getImageAuthentication(final String imageUrl) {
|
||||||
Log.d(TAG, "getImageAuthentication() called with: " + "imageUrl = [" + imageUrl + "]");
|
Log.d(TAG, "getImageAuthentication() called with: " + "imageUrl = [" + imageUrl + "]");
|
||||||
|
|
|
@ -10,7 +10,7 @@ public class TimeSpeedConverter {
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Convert millisecond according to the current playback speed
|
/** Convert millisecond according to the current playback speed
|
||||||
* @param time: time to convert
|
* @param time time to convert
|
||||||
* @return converted time (can be < 0 if time is < 0)
|
* @return converted time (can be < 0 if time is < 0)
|
||||||
*/
|
*/
|
||||||
public int convert(int time) {
|
public int convert(int time) {
|
||||||
|
|
|
@ -57,7 +57,7 @@ public class HtmlToPlainText {
|
||||||
* Use this method to determine if a given text has any HTML tag
|
* Use this method to determine if a given text has any HTML tag
|
||||||
*
|
*
|
||||||
* @param str String to be tested for presence of HTML content
|
* @param str String to be tested for presence of HTML content
|
||||||
* @return <b>True</b> if text contains any HTML tags</br><b>False</b> is no HTML tag is found
|
* @return <b>True</b> if text contains any HTML tags<br /><b>False</b> is no HTML tag is found
|
||||||
*/
|
*/
|
||||||
private static boolean isHtml(String str) {
|
private static boolean isHtml(String str) {
|
||||||
final String HTML_TAG_PATTERN = "<(\"[^\"]*\"|'[^']*'|[^'\">])*>";
|
final String HTML_TAG_PATTERN = "<(\"[^\"]*\"|'[^']*'|[^'\">])*>";
|
||||||
|
|
Loading…
Reference in New Issue