Skip to content

Commit

Permalink
Restored removed constructor
Browse files Browse the repository at this point in the history
Fix #11509 by restoring removed constructor as deprecated
  • Loading branch information
gregw committed Mar 12, 2024
1 parent 369d9f7 commit 048f50a
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 048f50a

Please sign in to comment.