From 5b0a8d65000b1ee592df4e2be058a8d7b78ad7bd Mon Sep 17 00:00:00 2001 From: Oleh Kuznetsov Date: Tue, 26 Nov 2024 14:49:39 +0000 Subject: [PATCH] Fix code format --- .../src/main/com/google/gapid/views/TracerDialog.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gapic/src/main/com/google/gapid/views/TracerDialog.java b/gapic/src/main/com/google/gapid/views/TracerDialog.java index af488d0d0..c8b76a0ea 100644 --- a/gapic/src/main/com/google/gapid/views/TracerDialog.java +++ b/gapic/src/main/com/google/gapid/views/TracerDialog.java @@ -431,9 +431,14 @@ public TraceInput(Composite parent, TraceType type, Models models, Widgets widge withMarginOnly(new GridLayout(2, false), 0, 0)), new GridData(SWT.FILL, SWT.FILL, true, false)); - skipDeviceValidation = withLayoutData(createCheckbox(skipDeviceValidationComposite, "Skip Device Validation", Devices.skipDeviceValidation.get()), new GridData(SWT.END, SWT.FILL, false, false)); + skipDeviceValidation = withLayoutData( + createCheckbox( + skipDeviceValidationComposite, + "Skip Device Validation", + Devices.skipDeviceValidation.get()), + new GridData(SWT.END, SWT.FILL, false, false)); skipDeviceValidation.addListener(SWT.Selection, e -> { - if(skipDeviceValidation.getSelection()) { + if (skipDeviceValidation.getSelection()) { Devices.skipDeviceValidation.setValue("true"); } else { Devices.skipDeviceValidation.setValue("false"); @@ -441,7 +446,7 @@ public TraceInput(Composite parent, TraceType type, Models models, Widgets widge logFailure(LOG, Scheduler.EXECUTOR.schedule(refreshDevices, 300, TimeUnit.MILLISECONDS)); }); - // Align label with first line of text. + // Align label with first line of text. withLayoutData(createLabel(mainGroup, "Validation:"), withIndents(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.VERTICAL_ALIGN_BEGINNING), 0, 12)); deviceValidationView = new DeviceValidationView(mainGroup, this.models, widgets);