InvalidSessionReport.java
1.5 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
package com.crashlytics.android.core;
import io.fabric.sdk.android.Fabric;
import io.fabric.sdk.android.Logger;
import java.io.File;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
class InvalidSessionReport
implements Report
{
private final Map<String, String> customHeaders;
private final File[] files;
private final String identifier;
public InvalidSessionReport(String paramString, File[] paramArrayOfFile)
{
this.files = paramArrayOfFile;
this.customHeaders = new HashMap(ReportUploader.HEADER_INVALID_CLS_FILE);
this.identifier = paramString;
}
public Map<String, String> getCustomHeaders()
{
return Collections.unmodifiableMap(this.customHeaders);
}
public File getFile()
{
return this.files[0];
}
public String getFileName()
{
return this.files[0].getName();
}
public File[] getFiles()
{
return this.files;
}
public String getIdentifier()
{
return this.identifier;
}
public void remove()
{
File[] arrayOfFile = this.files;
int j = arrayOfFile.length;
int i = 0;
while (i < j)
{
File localFile = arrayOfFile[i];
Fabric.getLogger().d("CrashlyticsCore", "Removing invalid report file at " + localFile.getPath());
localFile.delete();
i += 1;
}
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/crashlytics/android/core/InvalidSessionReport.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/