Skip to content

Commit 2d10f12

Browse files
fix checkstyle
1 parent e476953 commit 2d10f12

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: src/main/java/io/appium/java_client/AppiumDriver.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -277,16 +277,16 @@ public BiDi getBiDi() {
277277
var webSocketUrl = ((BaseOptions<?>) this.capabilities).getWebSocketUrl().orElseThrow(
278278
() -> new BiDiException(
279279
String.format(
280-
"BiDi is not enabled for this driver session. " +
281-
"Did you set %s to true?", SupportsWebSocketUrlOption.WEB_SOCKET_URL
280+
"BiDi is not enabled for this driver session. "
281+
+ "Did you set %s to true?", SupportsWebSocketUrlOption.WEB_SOCKET_URL
282282
)
283283
)
284284
);
285285
if (this.biDiUri == null) {
286286
throw new BiDiException(
287287
String.format(
288-
"BiDi is not enabled for this driver session. " +
289-
"Is the %s '%s' received from the create session response valid?",
288+
"BiDi is not enabled for this driver session. "
289+
+ "Is the %s '%s' received from the create session response valid?",
290290
SupportsWebSocketUrlOption.WEB_SOCKET_URL, webSocketUrl
291291
)
292292
);
@@ -399,8 +399,8 @@ private void initBiDi(BaseOptions<?> responseCaps) {
399399
}
400400
if (uriSyntaxError != null || this.biDiUri.getScheme() == null) {
401401
var message = String.format(
402-
"BiDi cannot be enabled for this driver session. " +
403-
"Is the %s '%s' received from the create session response valid?",
402+
"BiDi cannot be enabled for this driver session. "
403+
+ "Is the %s '%s' received from the create session response valid?",
404404
SupportsWebSocketUrlOption.WEB_SOCKET_URL, webSocketUrl.get()
405405
);
406406
if (uriSyntaxError == null) {

0 commit comments

Comments
 (0)