Closed FRKJ closed 2 years ago
I've replaced this toString() call with build() so it works as intended. UserAgentBuilder doesn't override toString() so it would just return Object.toString() which isn't useful in this context.
Yep, this was indeed an issue, I apologise for the tomfoolery I pulled here 😅
It might be appropriate in the future to perhaps override the .toString method, for now though, this will do.
I've replaced this toString() call with build() so it works as intended. UserAgentBuilder doesn't override toString() so it would just return Object.toString() which isn't useful in this context.