[ 1732480 ] Improve callout recursive call detection
Restoring is/set CalloutActive methods - recursive detection can coexist with old method for other purposes
This commit is contained in:
parent
8791f443e5
commit
3557756bc4
|
@ -165,28 +165,24 @@ public class CalloutEngine implements Callout
|
|||
|
||||
/*************************************************************************/
|
||||
|
||||
//private static boolean s_calloutActive = false;
|
||||
private static boolean s_calloutActive = false;
|
||||
|
||||
/**
|
||||
* Is Callout Active.
|
||||
* Deprecated, callout no longer need to call this method to avoid recursive invocation.
|
||||
* @deprecated
|
||||
* @return true if active
|
||||
*/
|
||||
protected static boolean isCalloutActive()
|
||||
{
|
||||
return false;
|
||||
return s_calloutActive;
|
||||
} // isCalloutActive
|
||||
|
||||
/**
|
||||
* Set Callout (in)active.
|
||||
* Deprecated, callout no longer need to call this method to avoid recursive invocation.
|
||||
* @deprecated
|
||||
* @param active active
|
||||
*/
|
||||
protected static void setCalloutActive (boolean active)
|
||||
{
|
||||
; //no op
|
||||
s_calloutActive = active;
|
||||
} // setCalloutActive
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue