2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-03 07:35:08 +00:00

Fix javadoc warning

This commit is contained in:
Nicolas Fella
2018-10-26 23:08:32 +02:00
parent 9e7a06f4c4
commit 74d2b2e828
3 changed files with 3 additions and 5 deletions

View File

@@ -51,10 +51,10 @@ import java.util.Set;
public class ContactsHelper { public class ContactsHelper {
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
/** /**
* Lookup the name and photoID of a contact given a phone number * Lookup the name and photoID of a contact given a phone number
*/ */
@TargetApi(Build.VERSION_CODES.HONEYCOMB)
public static Map<String, String> phoneNumberLookup(Context context, String number) { public static Map<String, String> phoneNumberLookup(Context context, String number) {
//Log.e("PhoneNumberLookup", number); //Log.e("PhoneNumberLookup", number);

View File

@@ -253,7 +253,6 @@ public final class AlbumArtCache {
* @param url The url being fetched * @param url The url being fetched
* @param payloadInput A payload input stream (if from the connected device). null if fetched from http(s) * @param payloadInput A payload input stream (if from the connected device). null if fetched from http(s)
* @param cacheItem The disk cache item to edit * @param cacheItem The disk cache item to edit
* @throws IOException
*/ */
FetchURLTask(URL url, InputStream payloadInput, DiskLruCache.Editor cacheItem) throws IOException { FetchURLTask(URL url, InputStream payloadInput, DiskLruCache.Editor cacheItem) throws IOException {
this.url = url; this.url = url;
@@ -266,7 +265,6 @@ public final class AlbumArtCache {
* Opens the http(s) connection * Opens the http(s) connection
* *
* @return True if succeeded * @return True if succeeded
* @throws IOException
*/ */
private boolean openHttp() throws IOException { private boolean openHttp() throws IOException {
//Default android behaviour does not follow https -> http urls, so do this manually //Default android behaviour does not follow https -> http urls, so do this manually

View File

@@ -164,13 +164,13 @@ public class SMSPlugin extends Plugin {
mPlugin = parent; mPlugin = parent;
} }
@Override
/** /**
* The onChange method is called whenever the subscribed-to database changes * The onChange method is called whenever the subscribed-to database changes
* *
* In this case, this onChange expects to be called whenever *anything* in the Messages * In this case, this onChange expects to be called whenever *anything* in the Messages
* database changes and simply reports those updated messages to anyone who might be listening * database changes and simply reports those updated messages to anyone who might be listening
*/ */
@Override
public void onChange(boolean selfChange) { public void onChange(boolean selfChange) {
if (mPlugin.mostRecentTimestamp == 0) { if (mPlugin.mostRecentTimestamp == 0) {
// Since the timestamp has not been initialized, we know that nobody else // Since the timestamp has not been initialized, we know that nobody else
@@ -206,7 +206,6 @@ public class SMSPlugin extends Plugin {
} }
} }
@Deprecated
/** /**
* Deliver an old-style SMS packet in response to a new message arriving * Deliver an old-style SMS packet in response to a new message arriving
* *
@@ -218,6 +217,7 @@ public class SMSPlugin extends Plugin {
* *
* @param messages Ordered list of parts of the message body which should be combined into a single message * @param messages Ordered list of parts of the message body which should be combined into a single message
*/ */
@Deprecated
private void smsBroadcastReceivedDeprecated(ArrayList<SmsMessage> messages) { private void smsBroadcastReceivedDeprecated(ArrayList<SmsMessage> messages) {
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {