Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary casts #1311

Merged
merged 3 commits into from
Jun 20, 2024
Merged

Conversation

stephan-herrmann
Copy link
Contributor

When eclipse-jdt/eclipse.jdt.core#2471 is merged, ecj will signal more casts as unnecessary.

With this PR I suggest to remove affected casts before new errors/warnings will show up in the build.

Copy link

github-actions bot commented Jun 20, 2024

Test Results

   289 files  ±0     289 suites  ±0   58m 39s ⏱️ - 1m 6s
 3 578 tests ±0   3 501 ✅  - 1   77 💤 +1  0 ❌ ±0 
10 865 runs  ±0  10 662 ✅  - 1  203 💤 +1  0 ❌ ±0 

Results for commit 7eb2e02. ± Comparison against base commit 34453f9.

This pull request skips 1 test.
org.eclipse.pde.build.internal.tests.p2.P2Tests ‑ offBug237662

♻️ This comment has been updated with latest results.

@stephan-herrmann
Copy link
Contributor Author

MacOS build is unhappy:

Error:  Failed to execute goal org.eclipse.tycho:tycho-apitools-plugin:4.0.8:verify (verify) on project org.eclipse.tools.layout.spy: Execute ApiApplication failed: InvocationTargetException: Component 'Layout Spy' in the baseline 'workspace' is disposed: Component was disposed here -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.eclipse.tycho:tycho-apitools-plugin:4.0.8:verify (verify) on project org.eclipse.tools.layout.spy: Execute ApiApplication failed

@merks any idea?

@akurtakov
Copy link
Member

As long as Jenkins is fine it's good to go.

@akurtakov akurtakov merged commit 93f76cf into eclipse-pde:master Jun 20, 2024
16 of 17 checks passed
@stephan-herrmann stephan-herrmann deleted the removeCasts branch June 20, 2024 18:56
@stephan-herrmann
Copy link
Contributor Author

As long as Jenkins is fine it's good to go.

thanks!

@HannesWell
Copy link
Member

HannesWell commented Jun 20, 2024

Thanks for this PR. It's great to have the code, base cleaned-up a bit.

MacOS build is unhappy:

Error:  Failed to execute goal org.eclipse.tycho:tycho-apitools-plugin:4.0.8:verify (verify) on project org.eclipse.tools.layout.spy: Execute ApiApplication failed: InvocationTargetException: Component 'Layout Spy' in the baseline 'workspace' is disposed: Component was disposed here -

The baseline check is unfortunately flaky sometimes.

fedejeanne pushed a commit to fedejeanne/eclipse.pde that referenced this pull request Jul 31, 2024
Remove unnecessary casts and version bumps where needed.
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