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,9 +577,20 @@ 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 isSubscribe();
}
/**
* Determines if subscriptions are allowed.
*
* @return true if subscriptions are allowed, false otherwise
*/
public boolean isSubscribe() {
return parseBoolean(getFieldValue(ConfigureNodeFields.subscribe)); return parseBoolean(getFieldValue(ConfigureNodeFields.subscribe));
} }