[reporting] add space to context leak error message

Summary: D4189956 killed the phantom space printed after types, but the Context leak message was relying on it :).

Reviewed By: jeremydubreil

Differential Revision: D4208591

fbshipit-source-id: 9f0d709
master
Sam Blackshear 8 years ago committed by Facebook Github Bot
parent bdfc7de48e
commit 8d427cfda6

@ -450,7 +450,7 @@ let desc_context_leak pname context_typ fieldname leak_path : error_desc =
(Procname.java_get_method pname_java) (Procname.java_get_method pname_java)
| _ -> | _ ->
"" in "" in
"Context " ^ context_str ^ "may leak during method " ^ pname_str ^ ":\n" in "Context " ^ context_str ^ " may leak during method " ^ pname_str ^ ":\n" in
{ no_desc with descriptions = [preamble; leak_root; path_str] } { no_desc with descriptions = [preamble; leak_root; path_str] }
let desc_unsafe_guarded_by_access pname accessed_fld guarded_by_str loc = let desc_unsafe_guarded_by_access pname accessed_fld guarded_by_str loc =

Loading…
Cancel
Save