#11 ActivityContextAwareResolver bug in isrt library

v4.3.0
closed-fixed
mtraut
None
2
2014-01-07
2013-12-19
Tomas Bucki
No

ActivityContextAwareResolver - method remove
should be the following code :
synchronized public static void remove(IStringEvaluator pResolver) {
if (resolver != null) {
resolver.get().removeResolver(pResolver);
}
}
instead of your current code:
synchronized public static void remove(IStringEvaluator pResolver) {
ScopedResolver tempResolver = resolver.get();
if (resolver == null) {
return;
}
tempResolver.removeResolver(pResolver);
}

Discussion

  • mtraut

    mtraut - 2014-01-07

    you're right regarding this bug - the next release will fix it with this code, instead

    synchronized public static void remove(IStringEvaluator pResolver) {
        ScopedResolver tempResolver = resolver.get();
        if (tempResolver == null) {
            return;
        }
        tempResolver.removeResolver(pResolver);
    }
    
     
  • mtraut

    mtraut - 2014-01-07
    • status: open --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks