zhoujian2030 / jdiameter

Automatically exported from code.google.com/p/jdiameter
0 stars 0 forks source link

Diameter Stack: Minimize Configuration Lookup #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For instance, on each message send, the following is performed:

long timeOut = 
container.getConfiguration().getLongValue(MessageTimeOut.ordinal(), (Long) 
MessageTimeOut.defValue());

Behaviors like this should be replaced by storing the configuration value in a 
local variable.

Original issue reported on code.google.com by brainslog on 28 Aug 2012 at 1:42