diff --git a/core/src/main/java/info/nightscout/androidaps/db/ProfileSwitch.java b/core/src/main/java/info/nightscout/androidaps/db/ProfileSwitch.java index 006a839510..3cb7ba5770 100644 --- a/core/src/main/java/info/nightscout/androidaps/db/ProfileSwitch.java +++ b/core/src/main/java/info/nightscout/androidaps/db/ProfileSwitch.java @@ -125,7 +125,7 @@ public class ProfileSwitch implements Interval, DataPointWithLabelInterface { /** * Note: the name returned here is used as the PS name when uploading to NS. When such a PS is retrieved * again from NS, the added parts must be removed again, see - * {@link info.nightscout.androidaps.utils.PercentageSplitter#pureName} + * {PercentageSplitter#pureName} */ public String getCustomizedName() { String name = profileName; diff --git a/core/src/main/java/info/nightscout/androidaps/utils/textValidator/EditTextValidator.java b/core/src/main/java/info/nightscout/androidaps/utils/textValidator/EditTextValidator.java index 0c93c0d5f3..760f8cd7f0 100644 --- a/core/src/main/java/info/nightscout/androidaps/utils/textValidator/EditTextValidator.java +++ b/core/src/main/java/info/nightscout/androidaps/utils/textValidator/EditTextValidator.java @@ -2,7 +2,6 @@ package info.nightscout.androidaps.utils.textValidator; import android.content.Context; import android.text.TextWatcher; -import android.widget.EditText; import info.nightscout.androidaps.utils.textValidator.validators.Validator; @@ -14,19 +13,18 @@ public interface EditTextValidator { * Add a validator to this FormEditText. The validator will be added in the * queue of the current validators. * - * @param theValidator * @throws IllegalArgumentException if the validator is null */ void addValidator(Validator theValidator) throws IllegalArgumentException; /** - * This should be used with {@link #addTextChangedListener(TextWatcher)}. It + * This should be used with { #addTextChangedListener(TextWatcher)}. It * fixes the non-hiding error popup behaviour. */ TextWatcher getTextWatcher(); - boolean isEmptyAllowed(); + @SuppressWarnings("unused") boolean isEmptyAllowed(); /** * Resets the {@link Validator}s @@ -35,7 +33,7 @@ public interface EditTextValidator { /** * Calling *testValidity()* will cause the EditText to go through - * customValidators and call {@link #Validator.isValid(EditText)} + * customValidators and call {#Validator.isValid(EditText)} * Same as {@link #testValidity(boolean)} with first parameter true * * @return true if the validity passes false otherwise. @@ -44,7 +42,7 @@ public interface EditTextValidator { /** * Calling *testValidity()* will cause the EditText to go through - * customValidators and call {@link #Validator.isValid(EditText)} + * customValidators and call {#Validator.isValid(EditText)} * * @param showUIError determines if this call should show the UI error. * @return true if the validity passes false otherwise.