In this particular case, they are both identical. Constant strings are intern'ed by the VM so that they both point to the same String
object.
In general, once a string is computed, it's best to assign it to a field/variable and reuse it. (I guess this applies in general - reuse computation results when there is no change, rather than repeating the computation.)
For string constants, I usually move them into static constant fields. There's no performance gain, but it avoids having "magic values" in your code. Similarly, UI messages should ideally be moved out of the code and put into properties bundles.