fixed smart check
Merge remote-tracking branch 'origin/master'
live templates: incorrect adding generic parameter IDEA-134434
extract HttpRequests.getReader