1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Fix Typo: s/isSubscibe/isSubscribe/ in ConfigureForm

Fixes SMACK-588
This commit is contained in:
Florian Schmaus 2014-08-01 23:15:46 +02:00
parent 1935039432
commit 66da4dfa91

View file

@ -577,12 +577,23 @@ public class ConfigureForm extends Form
* Determines if subscriptions are allowed. * Determines if subscriptions are allowed.
* *
* @return true if subscriptions are allowed, false otherwise * @return true if subscriptions are allowed, false otherwise
* @deprecated use {@link #isSubscribe()} instead
*/ */
@Deprecated
public boolean isSubscibe() public boolean isSubscibe()
{ {
return parseBoolean(getFieldValue(ConfigureNodeFields.subscribe)); return isSubscribe();
} }
/**
* Determines if subscriptions are allowed.
*
* @return true if subscriptions are allowed, false otherwise
*/
public boolean isSubscribe() {
return parseBoolean(getFieldValue(ConfigureNodeFields.subscribe));
}
/** /**
* Sets whether subscriptions are allowed. * Sets whether subscriptions are allowed.
* *