anathema/anathema — comment on commit 7d02e0d95c2e551b041e94b7677c8e802ada20bf
File: Character_Reporting/src/net/sf/anathema/character/reporting/pdf/content/magic/GenericCharmUtilities.java line 33
By UrsKR:

Building the full ID and checking for nullity seems a tad too complicated for this purpose.
Couldn't we iterate over allLearnedMagic instead and check whether any element's ID started with the stats' ID?