File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed
weixin-java-common/src/main/java/me/chanjar/weixin/common/util Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change 1
1
package me .chanjar .weixin .common .util .crypto ;
2
2
3
- import org .apache .commons .codec .digest .DigestUtils ;
4
-
5
- import java .security .MessageDigest ;
6
3
import java .security .NoSuchAlgorithmException ;
7
4
import java .util .Arrays ;
8
5
6
+ import org .apache .commons .codec .digest .DigestUtils ;
7
+
9
8
/**
10
9
* Created by Daniel Qian on 14/10/19.
11
10
*/
Original file line number Diff line number Diff line change 5
5
import org .apache .http .HttpHost ;
6
6
import org .apache .http .client .ClientProtocolException ;
7
7
import org .apache .http .impl .client .CloseableHttpClient ;
8
- import org .apache .http .impl .client .HttpClients ;
9
8
10
9
import me .chanjar .weixin .common .exception .WxErrorException ;
11
10
Original file line number Diff line number Diff line change 1
1
package me .chanjar .weixin .common .util .xml ;
2
2
3
+ import java .io .Writer ;
4
+
3
5
import com .thoughtworks .xstream .XStream ;
4
- import com .thoughtworks .xstream .converters .basic .DoubleConverter ;
5
- import com .thoughtworks .xstream .converters .basic .FloatConverter ;
6
- import com .thoughtworks .xstream .converters .basic .IntConverter ;
7
6
import com .thoughtworks .xstream .core .util .QuickWriter ;
8
7
import com .thoughtworks .xstream .io .HierarchicalStreamWriter ;
9
8
import com .thoughtworks .xstream .io .xml .PrettyPrintWriter ;
10
9
import com .thoughtworks .xstream .io .xml .XppDriver ;
11
- import com .thoughtworks .xstream .security .NoTypePermission ;
12
10
import com .thoughtworks .xstream .security .NullPermission ;
13
11
import com .thoughtworks .xstream .security .PrimitiveTypePermission ;
14
12
15
- import java .io .Writer ;
16
-
17
13
public class XStreamInitializer {
18
14
19
15
public static XStream getInstance () {
You can’t perform that action at this time.
0 commit comments