Skip to content

Conversation

@ttanatb
Copy link
Contributor

@ttanatb ttanatb commented Jun 24, 2022

Failed to validate trace file:
Screen Shot 2022-06-24 at 5 25 32 PM

Consistently fails to validate trace file (after 3 tries):
Screen Shot 2022-06-24 at 5 16 58 PM

Precondition error:
Screen Shot 2022-06-24 at 5 55 47 PM

Other kinds of error
Screen Shot 2022-06-24 at 5 57 32 PM

Validation Passes:
Screen Shot 2022-06-24 at 5 21 55 PM

@ttanatb
Copy link
Contributor Author

ttanatb commented Jun 24, 2022

Also ran gapic/src/main/com/google/gapid/views/DeviceValidationView.java through google-java-format

withLayoutData(
createGroup(this, ""), withSpans(new GridData(SWT.FILL, SWT.TOP, true, false), 3, 1));
Text errText =
withLayoutData(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Is this line break after assignment a java style?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the Google Java style guide:
When a line is broken at an assignment operator the break typically comes after the symbol, but either way is acceptable.

I think there's nothing prohibiting withLayoutData to be on the same line as Text errText = but I ran the java formatter and this is what it produced

@ttanatb ttanatb merged commit a9e748f into google:master Jul 26, 2022
sonakshisaxena1 pushed a commit to sonakshisaxena1/agi that referenced this pull request Aug 2, 2022
rosasco-wk pushed a commit to rosasco-wk/agi that referenced this pull request Sep 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants