Skip to content

Conversation

csware
Copy link
Contributor

@csware csware commented Jan 23, 2024

These copies were introduced with PR #272.

This related to #301 and works with Java 9.

builder.put("repeating-linear-gradient()", linearGradient$Fun);
builder.put("repeating-radial-gradient()", radialGradient$Fun);
DEFINITIONS = Map.copyOf(builder);
DEFINITIONS = Collections.unmodifiableMap(builder);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I see builder allocated locally at 263

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, I renamed all variables to include bulder to make it more clear.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
@mikesamuel mikesamuel merged commit 3e32abc into OWASP:main Feb 2, 2024
@csware csware deleted the guava-migration-do-less branch February 2, 2024 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants