[foreign-memaccess+abi] RFR: Use switch instead of if-statements in MemoryInspection classes

Per Minborg pminborg at openjdk.org
Mon May 29 12:49:28 UTC 2023


This PR proposes to use switch instead of if-statements

-------------

Commit messages:
 - Undo change from other PR
 - Fix memory inspection classes after api change

Changes: https://git.openjdk.org/panama-foreign/pull/835/files
 Webrev: https://webrevs.openjdk.org/?repo=panama-foreign&pr=835&range=00
  Stats: 117 lines in 1 file changed: 2 ins; 42 del; 73 mod
  Patch: https://git.openjdk.org/panama-foreign/pull/835.diff
  Fetch: git fetch https://git.openjdk.org/panama-foreign.git pull/835/head:pull/835

PR: https://git.openjdk.org/panama-foreign/pull/835


More information about the panama-dev mailing list