Mark getInstance and getSession as deprecated - they already just return value from QContext, but callers should instead do that directly.

This commit is contained in:
2024-06-27 11:50:58 -05:00
parent 3398b812ce
commit a4295df20d

View File

@ -107,8 +107,10 @@ public class AbstractActionInput
/*******************************************************************************
** Getter for instance
**
** Deprecated. Please use QContext.getInstance() instead
*******************************************************************************/
@JsonIgnore
@Deprecated
public QInstance getInstance()
{
return (QContext.getQInstance());
@ -119,8 +121,10 @@ public class AbstractActionInput
/*******************************************************************************
** Getter for session
**
** Deprecated. Please use QContext.getSession() instead
*******************************************************************************/
@JsonIgnore
@Deprecated
public QSession getSession()
{
return (QContext.getQSession());