|
|
Finding Unsafe MethodsGlobalyzer can scan source code files to locate unsafe methods. For more information on unsafe methods, click here. The unsafe methods configuration page, shown below, allows you to choose from a list of default unsafe methods to scan for within source files:
By default, Globalyzer preselects all known unsafe methods for the language associated with the Rule Set. To remove an unsafe method from the scan, deselect a check box and click the Save button.
To understand why a method is considered "unsafe" in an internalized application, and what you'll need to do to ensure that it is being called properly, click on the method name. Globalyzer displays custom i18n help. For example, here is an excerpt from the help for Java's String.toUpperCase() method:
Once methods have been checked and unchecked, as desired, and the Save button has been clicked to effect the changes, click the Back to Summary link to return to the Configure I18N Rule Set page. Note: If you would like to add additional functions for inclusion in the code scan, use the General Pattern Matches configuration page. |