aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_cl.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2017-06-27 12:14:48 +0200
committerSiri Hansen <[email protected]>2017-07-06 17:53:22 +0200
commitbba078a97b70137fd0ab7d0f883886406cc6d82c (patch)
treecc12057ff180620276b77a99421d69bc59ad55df /lib/dialyzer/src/dialyzer_cl.erl
parent9e9ad191ce49eb410c7a95a8410122eed8049755 (diff)
downloadotp-bba078a97b70137fd0ab7d0f883886406cc6d82c.tar.gz
otp-bba078a97b70137fd0ab7d0f883886406cc6d82c.tar.bz2
otp-bba078a97b70137fd0ab7d0f883886406cc6d82c.zip
dialyzer: Do not use deprecated functions in string(3)
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_cl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl
index 0617be6435..1e06d6e974 100644
--- a/lib/dialyzer/src/dialyzer_cl.erl
+++ b/lib/dialyzer/src/dialyzer_cl.erl
@@ -672,7 +672,7 @@ failed_anal_msg(Reason, LogCache) ->
%%
format_log_cache(LogCache) ->
Str = lists:append(lists:reverse(LogCache)),
- string:join(string:tokens(Str, "\n"), "\n ").
+ lists:join("\n ", string:lexemes(Str, "\n")).
-spec store_warnings(#cl_state{}, [raw_warning()]) -> #cl_state{}.