-
Story
-
Resolution: Done
-
Low
-
None
-
None
-
Policy El Alto 0 -6/23/19
The use of class.getCanonicalName() instead of class.getName() has taken root within policy code. In most cases, the two have the same value, however, getName() is typically the "correct" method to use, semantically (and is much shorter!). Existing code should be modified to use getName(), instead, except perhaps where the name is being logged, though getName() is typically fine there, too.
1.
|
Replace uses of getCanonicalName() with getName() in APEX | Closed | a.sreekumar | |
2.
|
Replace uses of getCanonicalName() with getName() in XACML | Closed | mmokry |