Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typify dirtyRegion map in UpdateListener and UpdateManager #238

Merged
merged 1 commit into from
Aug 13, 2023

Commits on Aug 13, 2023

  1. Typify dirtyMap in UpdateListener and UpdateManager & cleanup usage

    This change adjusts the notifyPainting() method in UpdateListener and
    the firePainting() method in UpdateManager to expect a generic map of
    (IFigure, Rectangle) pairs, rather than a raw map.
    
    This should not cause errors in client code, as calling or overwriting
    this method can still be done using a raw map (which will create a
    "unchecked or unsafe operations" warning).
    
    Internal usage has been changed from iterators to the for-each paradigm.
    ptziegler committed Aug 13, 2023
    Configuration menu
    Copy the full SHA
    e270f0d View commit details
    Browse the repository at this point in the history