Skip to content

Commit

Permalink
Add deprecated docs to BacktraceStackFrame constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Litwiniuk committed Oct 24, 2024
1 parent 835dd1d commit f254db4
Showing 1 changed file with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,20 @@ public class BacktraceStackFrame {

/**
* Create new instance of BacktraceStackFrame
*
* @deprecated
* Use {@link #fromStackTraceElement(StackTraceElement frame)} instead.
*/
@SuppressWarnings({"UnusedDeclaration"})
@Deprecated
public BacktraceStackFrame() {}


/**
* Create new instance of BacktraceStackFrame
*
* @deprecated
* Use {@link #fromStackTraceElement(StackTraceElement frame)} instead.
*/
@Deprecated
public BacktraceStackFrame(StackTraceElement frame) {
BacktraceStackFrame obj = BacktraceStackFrame.fromStackTraceElement(frame);
Expand Down

0 comments on commit f254db4

Please sign in to comment.