java - IntelliJ unable to find variable in SPeL -
i trying add spring @cacheable annotation method
@cacheable(value="targets", key="#url") public target decompose(string url) { return urlstylespecificdecomposer.decompose(url); }
this compiles , works fine, intellij giving me warning on spel
cannot resolve variable 'url' checks spring expression language (spel) problems
is there problem way specifying this, or intellij bug can safely ignore , suppress?
i have same warning intellij 14.0.2 , inline list key intellij show error key values:
'}' expected got '#'
@cacheable(value = "getarticles", key = "{#limit,#offset}", unless = "#result == null") public list<articles> getarticles(int limit, int offset) { }
i think intellij issue.. https://youtrack.jetbrains.com/issue/dexp-22243
Comments
Post a Comment