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

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -