mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-10 17:49:38 +02:00
SMACK-361 Some general code cleanup added some missing hashcode methods and added back some removed public API methods (marked as deprecated).
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_3_0@13598 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
58f56ee31b
commit
0fdfd6e75e
12 changed files with 84 additions and 43 deletions
|
@ -20,16 +20,13 @@ package org.jivesoftware.smack.util;
|
|||
*/
|
||||
public class Base64Encoder implements StringEncoder {
|
||||
|
||||
private static Base64Encoder instance;
|
||||
private static Base64Encoder instance = new Base64Encoder();
|
||||
|
||||
private Base64Encoder() {
|
||||
// Use getInstance()
|
||||
}
|
||||
|
||||
public static Base64Encoder getInstance() {
|
||||
if (instance == null) {
|
||||
instance = new Base64Encoder();
|
||||
}
|
||||
return instance;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue