mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-24 03:27:59 +01:00
Fix Typo: s/isSubscibe/isSubscribe/ in ConfigureForm
Fixes SMACK-588
This commit is contained in:
parent
1935039432
commit
66da4dfa91
1 changed files with 12 additions and 1 deletions
|
@ -577,12 +577,23 @@ public class ConfigureForm extends Form
|
|||
* Determines if subscriptions are allowed.
|
||||
*
|
||||
* @return true if subscriptions are allowed, false otherwise
|
||||
* @deprecated use {@link #isSubscribe()} instead
|
||||
*/
|
||||
@Deprecated
|
||||
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.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue