1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-23 13:07:59 +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:
Gaston Dombiak 2004-01-19 18:52:43 +00:00 committed by gdombiak
parent cd1abe75c0
commit e718ed796f

View file

@ -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;
} }
/** /**