Skip to content

Commit ac49112

Browse files
author
Bartosz Litwiniuk
committed
Remove unused code
1 parent 48984e0 commit ac49112

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

backtrace-library/src/main/java/backtraceio/library/models/json/BacktraceReport.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -226,16 +226,6 @@ public Throwable getException() {
226226
return this.originalException != null ? this.originalException : this.exception;
227227
}
228228

229-
// public BacktraceData toBacktraceData(Context context, Map<String, Object> clientAttributes) {
230-
// return toBacktraceData(context, clientAttributes, false);
231-
// }
232-
//
233-
// public BacktraceData toBacktraceData(Context context, Map<String, Object> clientAttributes, boolean isProguardEnabled) {
234-
// BacktraceData backtraceData = new BacktraceData(context, this, clientAttributes);
235-
// backtraceData.symbolication = isProguardEnabled ? "proguard" : null;
236-
// return backtraceData;
237-
// }
238-
239229
private String getExceptionClassifier(Throwable exception) {
240230
return exception.getClass().getCanonicalName();
241231
}
@@ -256,13 +246,6 @@ private Exception prepareException(Throwable exception) {
256246
return reportException;
257247
}
258248

259-
// public String getExceptionClassifier(Exception exception) {
260-
// if (exception instanceof UnhandledThrowableWrapper) {
261-
// return ((UnhandledThrowableWrapper) exception).getClassifier();
262-
// }
263-
// return exception.getClass().getCanonicalName();
264-
// }
265-
266249
/**
267250
* Sets error.type attribute depends on the type of the report
268251
*/

0 commit comments

Comments
 (0)