SojuObject.java
1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.snapchat.soju.shared.android;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;
public class SojuObject
implements SojuInterface
{
protected String maskSensitiveValue(String paramString1, String paramString2, int paramInt)
{
String str = paramString1;
StringBuilder localStringBuilder;
if (paramString1 != null)
{
str = paramString1;
if (!paramString1.isEmpty())
{
str = paramString1;
if (paramString2 != null)
{
str = paramString1;
if (paramString2.length() > paramInt)
{
localStringBuilder = new StringBuilder();
if (paramInt > 0) {
break label86;
}
}
}
}
}
label86:
for (str = "";; str = paramString2.substring(0, paramInt))
{
str = paramString1.replace(paramString2, str + StringUtils.repeat('*', StringUtils.length(paramString2) - paramInt));
return str;
}
}
public String toString()
{
return ToStringBuilder.reflectionToString(this);
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/snapchat/soju/shared/android/SojuObject.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/