Skip to content

Commit ed72401

Browse files
committed
tweak message format
1 parent 6e02219 commit ed72401

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JavaCall.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ include("reflect.jl")
3030

3131
function __init__()
3232
if VERSION v"1.1-" && VERSION < v"1.3-"
33-
@warn("JavaCall does not work correctly on Julia v$VERSION. \n " *
33+
@warn("JavaCall does not work correctly on Julia v$VERSION. \n" *
3434
"Either use Julia v1.0.x, or v1.3.0 or higher.\n"*
3535
"For 1.3 onwards, please also set the environment variable `JULIA_COPY_STACKS` to be `1` or `yes`")
3636
end
3737
if VERSION v"1.3-" && get(ENV, "JULIA_COPY_STACKS", "") ("1", "yes")
38-
@warn("JavaCall needs the environment variable `JULIA_COPY_STACKS` to be `1` or `yes`. "*
38+
@warn("JavaCall needs the environment variable `JULIA_COPY_STACKS` to be `1` or `yes`.\n"*
3939
"Calling the JVM may result in undefined behavior.")
4040
end
4141
findjvm()

0 commit comments

Comments
 (0)