There are two reasons to declare a variable instead of doing it inline:

1. It is error-prone. When it fails on a separate line it is easier to see in the stacktrace where it went wrong.
2. It makes the code more readable.

Neither apply here. This is actually longer than just using the string without declaring it. Just put the string directly in the method.