activemq
activemq copied to clipboard
[AMQ-9543] Replace use of deprecated setInactiveTimoutBeforeGC in unit tests
PolicyEntry.setInactiveTimoutBeforeGC(long inactiveTimoutBeforeGC) is deprecated, and the deprecation note suggests using PolicyEntry.setInactiveTimeoutBeforeGC(long setInactiveTimeoutBeforeGC).
The deprecation note has a typo, it says to use the getInactiveTimeoutBeforeGC for the deprecated setInactiveTimoutBeforeGC, but should be setInactiveTimeoutBeforeGC