mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-10-31 17:25:58 +01:00
Fixed bad "defaulSubscriptionMode" spelling
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2213 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
cd1abe75c0
commit
e718ed796f
1 changed files with 6 additions and 6 deletions
|
@ -100,7 +100,7 @@ public class Roster {
|
||||||
* The default subscription processing mode to use when a Roster is created. By default
|
* The default subscription processing mode to use when a Roster is created. By default
|
||||||
* all subscription requests are automatically accepted.
|
* all subscription requests are automatically accepted.
|
||||||
*/
|
*/
|
||||||
private static int defaulSubscriptionMode = SUBSCRIPTION_ACCEPT_ALL;
|
private static int defaultSubscriptionMode = SUBSCRIPTION_ACCEPT_ALL;
|
||||||
|
|
||||||
private XMPPConnection connection;
|
private XMPPConnection connection;
|
||||||
private Map groups;
|
private Map groups;
|
||||||
|
@ -112,7 +112,7 @@ public class Roster {
|
||||||
// has been recieved and processed.
|
// has been recieved and processed.
|
||||||
boolean rosterInitialized = false;
|
boolean rosterInitialized = false;
|
||||||
|
|
||||||
private int subscriptionMode = getDefaulSubscriptionMode();
|
private int subscriptionMode = getDefaultSubscriptionMode();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the default subscription processing mode to use when a new Roster is created. The
|
* Returns the default subscription processing mode to use when a new Roster is created. The
|
||||||
|
@ -122,8 +122,8 @@ public class Roster {
|
||||||
*
|
*
|
||||||
* @return the default subscription mode to use for new Rosters
|
* @return the default subscription mode to use for new Rosters
|
||||||
*/
|
*/
|
||||||
public static int getDefaulSubscriptionMode() {
|
public static int getDefaultSubscriptionMode() {
|
||||||
return defaulSubscriptionMode;
|
return defaultSubscriptionMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -134,8 +134,8 @@ public class Roster {
|
||||||
*
|
*
|
||||||
* @param subscriptionMode the default subscription mode to use for new Rosters.
|
* @param subscriptionMode the default subscription mode to use for new Rosters.
|
||||||
*/
|
*/
|
||||||
public static void setDefaulSubscriptionMode(int subscriptionMode) {
|
public static void setDefaultSubscriptionMode(int subscriptionMode) {
|
||||||
defaulSubscriptionMode = subscriptionMode;
|
defaultSubscriptionMode = subscriptionMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue