Commons BeanUtils
  1. Commons BeanUtils
  2. BEANUTILS-365

MethodUtils.getMatchingAccessibleMethod could cache unsuccesful matches

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: 2.0
    • Component/s: Bean / Property Utils
    • Labels:
      None
    • Environment:

      java 1.6.0_16

      Description

      In order to gain some performance the MethodUtils.getMatchingAccessibleMethod could cache unsuccessful matches too. In case there is no matching method getMatchingAccessibleMethod returns null after examining the Class but does not store this fact in the cache, the subsequent call to MethodUtils.getMatchingAccessibleMethod will examine the Class again

        Activity

        Hide
        Francesco Mari added a comment -

        The patch contains some modifications to MethodUtils and MethodUtilsTestCase and enables caching for negative matches between methods.

        Show
        Francesco Mari added a comment - The patch contains some modifications to MethodUtils and MethodUtilsTestCase and enables caching for negative matches between methods.

          People

          • Assignee:
            Unassigned
            Reporter:
            Endre Jeges
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development