Details

      Description

      GetterUtil is used to parse String into a required value type (i.e. int, long, short, etc). This class has been rewritten to improve performance.

      Previously, the implementation of this class relied on JDK's standard Long.parseLong(String), Integer.parseInt(String) and Short.parseShort(String). If these methods fail to parse the string, it will throw and exception. Handling exceptions is expensive and the exception is not used. So to address this performance issue, GetterUtil has been rewritten to directly parse the string. Now, if the string can not be parsed, an exception doesn't have to be thrown.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              brian.chan Brian Chan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  5.1 EE SP5 (5.1.8)
                  5.2 EE SP3 (5.2.7)