Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Structural Search Inspection not working for Structural Search that does?

$
0
0

Hello, All -

 

If I issue this Structural Search:

$field$ = $something$;if ($field$ == null) {     thrownew ServletException($msg$);}

with all default constraints via Edit > Find > Search Structurally, it matches code you'd expect it to, e.g.,

metricId = inputForm.getMetricId();if (metricId == null) {     thrownew ServletException("Missing metricId");}

 

If you dump this into a Structural Search Inspection as a Search Template, it doesn't flag this same code. (All of my other SS Inspections work great - I love this feature!)  Ideas?

 

Thanks in advance,

- Luke


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>