Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
xabber-android
Commits
7b220ad8
Commit
7b220ad8
authored
Jun 24, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Android Studio clean up code tool run.
parent
e56eb4d4
Changes
45
Show whitespace changes
Inline
Side-by-side
Showing
45 changed files
with
59 additions
and
63 deletions
+59
-63
LogManager.java
app/src/main/java/com/xabber/android/data/LogManager.java
+0
-2
OnCloseListener.java
...rc/main/java/com/xabber/android/data/OnCloseListener.java
+1
-1
OnErrorListener.java
...rc/main/java/com/xabber/android/data/OnErrorListener.java
+1
-1
OnTimerListener.java
...rc/main/java/com/xabber/android/data/OnTimerListener.java
+1
-1
OnUnloadListener.java
...c/main/java/com/xabber/android/data/OnUnloadListener.java
+1
-1
CommonState.java
...ain/java/com/xabber/android/data/account/CommonState.java
+1
-1
OAuthProvider.java
...n/java/com/xabber/android/data/account/OAuthProvider.java
+3
-3
OnAccountChangedListener.java
...xabber/android/data/account/OnAccountChangedListener.java
+1
-1
ConnectionThread.java
.../com/xabber/android/data/connection/ConnectionThread.java
+1
-1
DNSManager.java
...n/java/com/xabber/android/data/connection/DNSManager.java
+1
-1
NetworkState.java
...java/com/xabber/android/data/connection/NetworkState.java
+1
-1
Target.java
.../main/java/com/xabber/android/data/connection/Target.java
+1
-3
AbstractAccountTable.java
.../com/xabber/android/data/entity/AbstractAccountTable.java
+2
-2
AbstractEntityTable.java
...a/com/xabber/android/data/entity/AbstractEntityTable.java
+2
-2
MatchMode.java
.../com/xabber/android/data/extension/archive/MatchMode.java
+1
-1
ClientSoftware.java
...ber/android/data/extension/capability/ClientSoftware.java
+1
-1
SessionState.java
...a/com/xabber/android/data/extension/ssn/SessionState.java
+1
-1
OnVCardListener.java
.../xabber/android/data/extension/vcard/OnVCardListener.java
+2
-2
OnChatChangedListener.java
...om/xabber/android/data/message/OnChatChangedListener.java
+1
-1
AccountNotificationItem.java
...er/android/data/notification/AccountNotificationItem.java
+1
-1
EntityNotificationItem.java
...ber/android/data/notification/EntityNotificationItem.java
+1
-1
Group.java
app/src/main/java/com/xabber/android/data/roster/Group.java
+1
-1
OnContactChangedListener.java
.../xabber/android/data/roster/OnContactChangedListener.java
+1
-1
OnRosterChangedListener.java
...m/xabber/android/data/roster/OnRosterChangedListener.java
+4
-4
ConnectivityReceiver.java
...ava/com/xabber/android/receiver/ConnectivityReceiver.java
+1
-1
ChatViewerAdapter.java
...java/com/xabber/android/ui/adapter/ChatViewerAdapter.java
+1
-1
BaseSettingsFragment.java
...m/xabber/android/ui/preferences/BaseSettingsFragment.java
+1
-1
Container.java
app/src/main/java/com/xabber/xmpp/Container.java
+3
-3
Instance.java
app/src/main/java/com/xabber/xmpp/Instance.java
+2
-2
ProviderUtils.java
app/src/main/java/com/xabber/xmpp/ProviderUtils.java
+2
-2
CollectionHeader.java
...c/main/java/com/xabber/xmpp/archive/CollectionHeader.java
+4
-4
OtrMode.java
app/src/main/java/com/xabber/xmpp/archive/OtrMode.java
+1
-1
SaveMode.java
app/src/main/java/com/xabber/xmpp/archive/SaveMode.java
+1
-1
DisclosureValue.java
app/src/main/java/com/xabber/xmpp/ssn/DisclosureValue.java
+1
-1
LoggingValue.java
app/src/main/java/com/xabber/xmpp/ssn/LoggingValue.java
+1
-1
SecurityValue.java
app/src/main/java/com/xabber/xmpp/ssn/SecurityValue.java
+1
-1
AddressProperty.java
app/src/main/java/com/xabber/xmpp/vcard/AddressProperty.java
+1
-1
Classification.java
app/src/main/java/com/xabber/xmpp/vcard/Classification.java
+1
-1
EmailType.java
app/src/main/java/com/xabber/xmpp/vcard/EmailType.java
+1
-1
Logo.java
app/src/main/java/com/xabber/xmpp/vcard/Logo.java
+1
-1
NameProperty.java
app/src/main/java/com/xabber/xmpp/vcard/NameProperty.java
+1
-1
Photo.java
app/src/main/java/com/xabber/xmpp/vcard/Photo.java
+1
-1
Sound.java
app/src/main/java/com/xabber/xmpp/vcard/Sound.java
+1
-1
TelephoneType.java
app/src/main/java/com/xabber/xmpp/vcard/TelephoneType.java
+1
-1
VCardProperty.java
app/src/main/java/com/xabber/xmpp/vcard/VCardProperty.java
+1
-1
No files found.
app/src/main/java/com/xabber/android/data/LogManager.java
View file @
7b220ad8
...
...
@@ -38,8 +38,6 @@ public class LogManager implements OnLoadListener {
log
=
debugable
&&
SettingsManager
.
debugLog
();
}
;
private
final
static
LogManager
instance
;
static
{
...
...
app/src/main/java/com/xabber/android/data/OnCloseListener.java
View file @
7b220ad8
...
...
@@ -26,5 +26,5 @@ public interface OnCloseListener extends BaseManagerInterface {
* <p/>
* This function will be call from UI thread.
*/
public
void
onClose
();
void
onClose
();
}
app/src/main/java/com/xabber/android/data/OnErrorListener.java
View file @
7b220ad8
...
...
@@ -26,5 +26,5 @@ interface OnErrorListener extends BaseUIListener {
*
* @param resourceId String with error description.
*/
public
void
onError
(
int
resourceId
);
void
onError
(
int
resourceId
);
}
app/src/main/java/com/xabber/android/data/OnTimerListener.java
View file @
7b220ad8
...
...
@@ -26,7 +26,7 @@ package com.xabber.android.data;
*/
public
interface
OnTimerListener
extends
BaseManagerInterface
{
public
final
static
int
DELAY
=
1000
;
int
DELAY
=
1000
;
/**
* Called after at least {@link #DELAY} milliseconds.
...
...
app/src/main/java/com/xabber/android/data/OnUnloadListener.java
View file @
7b220ad8
...
...
@@ -28,6 +28,6 @@ public interface OnUnloadListener extends BaseManagerInterface {
* WILL BE CALLED FROM BACKGROUND THREAD. DON'T CHANGE OR ACCESS
* APPLICATION'S DATA HERE!
*/
public
void
onUnload
();
void
onUnload
();
}
app/src/main/java/com/xabber/android/data/account/CommonState.java
View file @
7b220ad8
...
...
@@ -54,6 +54,6 @@ public enum CommonState {
/**
* There is at least one account with received roster.
*/
online
;
online
}
app/src/main/java/com/xabber/android/data/account/OAuthProvider.java
View file @
7b220ad8
...
...
@@ -29,7 +29,7 @@ interface OAuthProvider extends BaseManagerInterface {
/**
* @return Supported protocol.
*/
public
AccountProtocol
getAccountProtocol
();
AccountProtocol
getAccountProtocol
();
/**
* Gets refresh token using Request Access Token.
...
...
@@ -40,7 +40,7 @@ interface OAuthProvider extends BaseManagerInterface {
* @return refresh token or <code>null</code> if auth failed.
* @throws NetworkException
*/
public
String
requestRefreshToken
(
String
code
)
throws
NetworkException
;
String
requestRefreshToken
(
String
code
)
throws
NetworkException
;
/**
* Requests password renew from server based on refreshToken.
...
...
@@ -51,7 +51,7 @@ interface OAuthProvider extends BaseManagerInterface {
* @return <code>null</code> on authorization fail.
* @throws NetworkException
*/
public
OAuthResult
requestAccessToken
(
String
refreshToken
)
OAuthResult
requestAccessToken
(
String
refreshToken
)
throws
NetworkException
;
/**
...
...
app/src/main/java/com/xabber/android/data/account/OnAccountChangedListener.java
View file @
7b220ad8
...
...
@@ -30,5 +30,5 @@ public interface OnAccountChangedListener extends BaseUIListener {
*
* @param accounts
*/
public
void
onAccountsChanged
(
Collection
<
String
>
accounts
);
void
onAccountsChanged
(
Collection
<
String
>
accounts
);
}
app/src/main/java/com/xabber/android/data/connection/ConnectionThread.java
View file @
7b220ad8
...
...
@@ -472,7 +472,7 @@ public class ConnectionThread implements
Throwable
e1
=
((
XMPPException
)
e
).
getWrappedThrowable
();
if
(!(
e1
instanceof
SSLException
))
return
;
Throwable
e2
=
((
SSLException
)
e1
)
.
getCause
();
Throwable
e2
=
e1
.
getCause
();
if
(!(
e2
instanceof
CertificateException
))
return
;
runOnUiThread
(
new
Runnable
()
{
...
...
app/src/main/java/com/xabber/android/data/connection/DNSManager.java
View file @
7b220ad8
...
...
@@ -102,7 +102,7 @@ public class DNSManager {
}
for
(
Resolver
check
:
resolver
.
getResolvers
())
if
(
check
instanceof
SimpleResolver
)
{
((
SimpleResolver
)
check
)
.
setTimeout
(
30
);
check
.
setTimeout
(
30
);
}
else
{
LogManager
.
i
(
this
,
"Not simple resolver!!!?"
+
check
);
}
...
...
app/src/main/java/com/xabber/android/data/connection/NetworkState.java
View file @
7b220ad8
...
...
@@ -25,6 +25,6 @@ public enum NetworkState {
suspended
,
unavailable
;
unavailable
}
app/src/main/java/com/xabber/android/data/connection/Target.java
View file @
7b220ad8
...
...
@@ -81,9 +81,7 @@ public class Target implements Comparable<Target> {
return
false
;
if
(
priority
!=
other
.
priority
)
return
false
;
if
(
weight
!=
other
.
weight
)
return
false
;
return
true
;
return
weight
==
other
.
weight
;
}
@Override
...
...
app/src/main/java/com/xabber/android/data/entity/AbstractAccountTable.java
View file @
7b220ad8
...
...
@@ -29,9 +29,9 @@ import android.provider.BaseColumns;
*/
public
abstract
class
AbstractAccountTable
extends
AbstractTable
{
public
static
interface
Fields
extends
BaseColumns
{
public
interface
Fields
extends
BaseColumns
{
public
static
final
String
ACCOUNT
=
"account"
;
String
ACCOUNT
=
"account"
;
}
...
...
app/src/main/java/com/xabber/android/data/entity/AbstractEntityTable.java
View file @
7b220ad8
...
...
@@ -23,9 +23,9 @@ import android.database.Cursor;
*/
public
abstract
class
AbstractEntityTable
extends
AbstractAccountTable
{
public
static
interface
Fields
extends
AbstractAccountTable
.
Fields
{
public
interface
Fields
extends
AbstractAccountTable
.
Fields
{
public
static
final
String
USER
=
"user"
;
String
USER
=
"user"
;
}
...
...
app/src/main/java/com/xabber/android/data/extension/archive/MatchMode.java
View file @
7b220ad8
...
...
@@ -27,6 +27,6 @@ public enum MatchMode {
bare
,
exect
;
exect
}
app/src/main/java/com/xabber/android/data/extension/capability/ClientSoftware.java
View file @
7b220ad8
...
...
@@ -47,7 +47,7 @@ public enum ClientSoftware {
private
final
static
Pattern
GTALK_NODE
=
Pattern
.
compile
(
"(?iu).*mail\\.google\\.com.*client.*"
);
private
ClientSoftware
(
String
regularExpression
)
{
ClientSoftware
(
String
regularExpression
)
{
this
.
regularExpression
=
Pattern
.
compile
(
regularExpression
);
}
...
...
app/src/main/java/com/xabber/android/data/extension/ssn/SessionState.java
View file @
7b220ad8
...
...
@@ -30,6 +30,6 @@ public enum SessionState {
* Data form of type "form" with a "renegotiate" field whose value is "1"
* has been sent.
*/
renegotiation
;
renegotiation
}
app/src/main/java/com/xabber/android/data/extension/vcard/OnVCardListener.java
View file @
7b220ad8
...
...
@@ -31,7 +31,7 @@ public interface OnVCardListener extends BaseUIListener {
* @param bareAddress
* @param vCard
*/
public
void
onVCardReceived
(
String
account
,
String
bareAddress
,
VCard
vCard
);
void
onVCardReceived
(
String
account
,
String
bareAddress
,
VCard
vCard
);
/**
* Fail occurred on vCard response.
...
...
@@ -39,6 +39,6 @@ public interface OnVCardListener extends BaseUIListener {
* @param account
* @param bareAddress
*/
public
void
onVCardFailed
(
String
account
,
String
bareAddress
);
void
onVCardFailed
(
String
account
,
String
bareAddress
);
}
app/src/main/java/com/xabber/android/data/message/OnChatChangedListener.java
View file @
7b220ad8
...
...
@@ -28,6 +28,6 @@ public interface OnChatChangedListener extends BaseUIListener {
* @param user
* @param incoming Whether new incoming message received.
*/
public
void
onChatChanged
(
String
account
,
String
user
,
boolean
incoming
);
void
onChatChanged
(
String
account
,
String
user
,
boolean
incoming
);
}
app/src/main/java/com/xabber/android/data/notification/AccountNotificationItem.java
View file @
7b220ad8
...
...
@@ -22,6 +22,6 @@ package com.xabber.android.data.notification;
*/
public
interface
AccountNotificationItem
extends
NotificationItem
{
public
String
getAccount
();
String
getAccount
();
}
app/src/main/java/com/xabber/android/data/notification/EntityNotificationItem.java
View file @
7b220ad8
...
...
@@ -21,6 +21,6 @@ package com.xabber.android.data.notification;
*/
public
interface
EntityNotificationItem
extends
AccountNotificationItem
{
public
String
getUser
();
String
getUser
();
}
app/src/main/java/com/xabber/android/data/roster/Group.java
View file @
7b220ad8
...
...
@@ -21,6 +21,6 @@ package com.xabber.android.data.roster;
*/
public
interface
Group
{
public
String
getName
();
String
getName
();
}
app/src/main/java/com/xabber/android/data/roster/OnContactChangedListener.java
View file @
7b220ad8
...
...
@@ -31,6 +31,6 @@ public interface OnContactChangedListener extends BaseUIListener {
*
* @param entities
*/
public
void
onContactsChanged
(
Collection
<
BaseEntity
>
entities
);
void
onContactsChanged
(
Collection
<
BaseEntity
>
entities
);
}
app/src/main/java/com/xabber/android/data/roster/OnRosterChangedListener.java
View file @
7b220ad8
...
...
@@ -37,7 +37,7 @@ public interface OnRosterChangedListener extends BaseManagerInterface {
* @param removedContacts
* @param removedGroups
*/
public
void
onRosterUpdate
(
void
onRosterUpdate
(
Collection
<
RosterGroup
>
addedGroups
,
Map
<
RosterContact
,
String
>
addedContacts
,
Map
<
RosterContact
,
String
>
renamedContacts
,
...
...
@@ -51,14 +51,14 @@ public interface OnRosterChangedListener extends BaseManagerInterface {
*
* @param rosterContact
*/
public
void
onPresenceChanged
(
Collection
<
RosterContact
>
rosterContact
);
void
onPresenceChanged
(
Collection
<
RosterContact
>
rosterContact
);
/**
* Contact's structured name has been changed.
*
* @param rosterContact
*/
public
void
onContactStructuredInfoChanged
(
RosterContact
rosterContact
,
void
onContactStructuredInfoChanged
(
RosterContact
rosterContact
,
StructuredName
structuredName
);
}
app/src/main/java/com/xabber/android/receiver/ConnectivityReceiver.java
View file @
7b220ad8
...
...
@@ -34,7 +34,7 @@ public class ConnectivityReceiver extends BroadcastReceiver {
public
void
onReceive
(
Context
context
,
Intent
intent
)
{
if
(!
ConnectivityManager
.
CONNECTIVITY_ACTION
.
equals
(
intent
.
getAction
()))
return
;
NetworkInfo
networkInfo
=
(
NetworkInfo
)
intent
NetworkInfo
networkInfo
=
intent
.
getParcelableExtra
(
ConnectivityManager
.
EXTRA_NETWORK_INFO
);
if
(
networkInfo
==
null
)
{
LogManager
.
e
(
this
,
"NO INFO"
);
...
...
app/src/main/java/com/xabber/android/ui/adapter/ChatViewerAdapter.java
View file @
7b220ad8
...
...
@@ -166,7 +166,7 @@ public class ChatViewerAdapter extends FragmentStatePagerAdapter {
}
public
interface
FinishUpdateListener
{
public
void
onChatViewAdapterFinishUpdate
();
void
onChatViewAdapterFinishUpdate
();
}
public
ArrayList
<
AbstractChat
>
getActiveChats
()
{
...
...
app/src/main/java/com/xabber/android/ui/preferences/BaseSettingsFragment.java
View file @
7b220ad8
...
...
@@ -66,7 +66,7 @@ public abstract class BaseSettingsFragment extends PreferenceFragment
/**
* Possible operations.
*/
private
static
enum
Operation
{
private
enum
Operation
{
save
,
discard
,
read
}
...
...
app/src/main/java/com/xabber/xmpp/Container.java
View file @
7b220ad8
...
...
@@ -28,12 +28,12 @@ public interface Container extends Instance {
/**
* @return XML element name.
*/
public
String
getElementName
();
String
getElementName
();
/**
* @return XML namespace.
*/
public
String
getNamespace
();
String
getNamespace
();
/**
* Serializes an inner content of XML tag.
...
...
@@ -41,7 +41,7 @@ public interface Container extends Instance {
* @param serializer
* @throws IOException
*/
public
abstract
void
serializeContent
(
XmlSerializer
serializer
)
void
serializeContent
(
XmlSerializer
serializer
)
throws
IOException
;
}
app/src/main/java/com/xabber/xmpp/Instance.java
View file @
7b220ad8
...
...
@@ -32,7 +32,7 @@ public interface Instance {
* @return Whether parsed instance has valid values (e.g. required field are
* not <code>null</code>).
*/
public
boolean
isValid
();
boolean
isValid
();
/**
* Serializes an instance into XML using serializer.
...
...
@@ -40,6 +40,6 @@ public interface Instance {
* @param serializer
* @throws IOException
*/
public
void
serialize
(
XmlSerializer
serializer
)
throws
IOException
;
void
serialize
(
XmlSerializer
serializer
)
throws
IOException
;
}
app/src/main/java/com/xabber/xmpp/ProviderUtils.java
View file @
7b220ad8
...
...
@@ -132,7 +132,7 @@ public class ProviderUtils {
* @throws Exception
*/
public
static
String
parseText
(
XmlPullParser
parser
,
int
maximum
)
throws
OverflowReceiverBufferException
,
Exception
{
throws
Exception
{
final
StringBuilder
text
=
new
StringBuilder
();
int
inner
=
1
;
boolean
overflow
=
false
;
...
...
@@ -179,7 +179,7 @@ public class ProviderUtils {
* @throws Exception
*/
public
static
void
skipTag
(
XmlPullParser
parser
)
throws
IllegalStateException
,
Exception
{
throws
Exception
{
LinkedList
<
String
>
tags
=
new
LinkedList
<
String
>();
tags
.
add
(
parser
.
getName
());
while
(!
tags
.
isEmpty
())
{
...
...
app/src/main/java/com/xabber/xmpp/archive/CollectionHeader.java
View file @
7b220ad8
...
...
@@ -23,12 +23,12 @@ import java.util.Date;
*/
public
interface
CollectionHeader
{
public
Date
getStart
();
Date
getStart
();
public
String
getStartString
();
String
getStartString
();
public
Integer
getVersion
();
Integer
getVersion
();
public
String
getWith
();
String
getWith
();
}
app/src/main/java/com/xabber/xmpp/archive/OtrMode.java
View file @
7b220ad8
...
...
@@ -62,7 +62,7 @@ public enum OtrMode {
private
final
LoggingValue
[]
loggingValues
;
private
OtrMode
(
LoggingValue
[]
loggingValues
)
{
OtrMode
(
LoggingValue
[]
loggingValues
)
{
this
.
loggingValues
=
loggingValues
;
}
...
...
app/src/main/java/com/xabber/xmpp/archive/SaveMode.java
View file @
7b220ad8
...
...
@@ -47,7 +47,7 @@ public enum SaveMode {
private
String
value
;
private
SaveMode
(
String
name
)
{
SaveMode
(
String
name
)
{
this
.
value
=
name
;
}
...
...
app/src/main/java/com/xabber/xmpp/ssn/DisclosureValue.java
View file @
7b220ad8
...
...
@@ -37,7 +37,7 @@ public enum DisclosureValue {
private
final
String
label
;
private
DisclosureValue
(
String
label
)
{
DisclosureValue
(
String
label
)
{
this
.
label
=
label
;
}
...
...
app/src/main/java/com/xabber/xmpp/ssn/LoggingValue.java
View file @
7b220ad8
...
...
@@ -33,7 +33,7 @@ public enum LoggingValue {
private
final
String
label
;
private
LoggingValue
(
String
label
)
{
LoggingValue
(
String
label
)
{
this
.
label
=
label
;
}
...
...
app/src/main/java/com/xabber/xmpp/ssn/SecurityValue.java
View file @
7b220ad8
...
...
@@ -35,7 +35,7 @@ public enum SecurityValue {
private
final
String
label
;
private
SecurityValue
(
String
label
)
{
SecurityValue
(
String
label
)
{
this
.
label
=
label
;
}
...
...
app/src/main/java/com/xabber/xmpp/vcard/AddressProperty.java
View file @
7b220ad8
...
...
@@ -28,6 +28,6 @@ public enum AddressProperty {
PCODE
,
CTRY
;
CTRY
}
app/src/main/java/com/xabber/xmpp/vcard/Classification.java
View file @
7b220ad8
...
...
@@ -20,6 +20,6 @@ public enum Classification {
PRIVATE
,
CONFIDENTIAL
;
CONFIDENTIAL
}
app/src/main/java/com/xabber/xmpp/vcard/EmailType.java
View file @
7b220ad8
...
...
@@ -24,6 +24,6 @@ public enum EmailType {
X400
,
PREF
;
PREF
}
app/src/main/java/com/xabber/xmpp/vcard/Logo.java
View file @
7b220ad8
...
...
@@ -18,6 +18,6 @@ import com.xabber.xmpp.Instance;
public
interface
Logo
extends
Instance
{
public
static
final
String
ELEMENT_NAME
=
"LOGO"
;
String
ELEMENT_NAME
=
"LOGO"
;
}
app/src/main/java/com/xabber/xmpp/vcard/NameProperty.java
View file @
7b220ad8
...
...
@@ -24,6 +24,6 @@ public enum NameProperty {
PREFIX
,
SUFFIX
;
SUFFIX
}
app/src/main/java/com/xabber/xmpp/vcard/Photo.java
View file @
7b220ad8
...
...
@@ -18,6 +18,6 @@ import com.xabber.xmpp.Instance;
public
interface
Photo
extends
Instance
{
public
static
final
String
ELEMENT_NAME
=
"PHOTO"
;
String
ELEMENT_NAME
=
"PHOTO"
;
}
app/src/main/java/com/xabber/xmpp/vcard/Sound.java
View file @
7b220ad8
...
...
@@ -18,6 +18,6 @@ import com.xabber.xmpp.Instance;
public
interface
Sound
extends
Instance
{
public
static
final
String
ELEMENT_NAME
=
"SOUND"
;
String
ELEMENT_NAME
=
"SOUND"
;
}
app/src/main/java/com/xabber/xmpp/vcard/TelephoneType.java
View file @
7b220ad8
...
...
@@ -40,6 +40,6 @@ public enum TelephoneType {
PCS
,
PREF
;
PREF
}
app/src/main/java/com/xabber/xmpp/vcard/VCardProperty.java
View file @
7b220ad8
...
...
@@ -48,7 +48,7 @@ public enum VCardProperty {
private
final
String
name
;
private
VCardProperty
()
{
VCardProperty
()
{
name
=
super
.
toString
().
replace
(
'_'
,
'-'
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment