mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
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:
@ -107,8 +107,10 @@ public class AbstractActionInput
|
|||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Getter for instance
|
** Getter for instance
|
||||||
**
|
**
|
||||||
|
** Deprecated. Please use QContext.getInstance() instead
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
|
@Deprecated
|
||||||
public QInstance getInstance()
|
public QInstance getInstance()
|
||||||
{
|
{
|
||||||
return (QContext.getQInstance());
|
return (QContext.getQInstance());
|
||||||
@ -119,8 +121,10 @@ public class AbstractActionInput
|
|||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
** Getter for session
|
** Getter for session
|
||||||
**
|
**
|
||||||
|
** Deprecated. Please use QContext.getSession() instead
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
|
@Deprecated
|
||||||
public QSession getSession()
|
public QSession getSession()
|
||||||
{
|
{
|
||||||
return (QContext.getQSession());
|
return (QContext.getQSession());
|
||||||
|
Reference in New Issue
Block a user