Skip to content

Commit

Permalink
Restored removed constructor (#11512)
Browse files Browse the repository at this point in the history
Fix #11509 by restoring removed constructor as deprecated
  • Loading branch information
gregw authored Mar 13, 2024
1 parent 0a23824 commit ffb5458
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@ public CookieCache(CookieCompliance compliance)
_parser = CookieParser.newParser(this, compliance, this);
}

@Deprecated(forRemoval = true)
public CookieCache(CookieCompliance compliance, ComplianceViolation.Listener complianceListener)
{
this(compliance);
}

@Override
public void onComplianceViolation(ComplianceViolation.Event event)
{
Expand Down

0 comments on commit ffb5458

Please sign in to comment.