Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

riqueufmg
Copy link
Contributor

Pull Request Checklist

  • I have read and followed the CONTRIBUTING.md guidelines.
  • My contribution adds a new instruction, prompt, or chat mode file in the correct directory.
  • The file follows the required naming convention.
  • The content is clearly structured and follows the example format.
  • I have tested my instructions, prompt, or chat mode with GitHub Copilot.
  • I have run node update-readme.js and verified that README.md is up to date.

Description

Refactoring using Remove Parameter in Java Language.


Type of Contribution

  • New instruction file.
  • New prompt file.
  • New chat mode file.
  • Other (please specify):

Additional Notes

Tested on Google Guice (7.0.1), in the following classes:

  • core/src/com/google/inject/spi/DefaultElementVisitor.java
  • core/src/com/google/inject/internal/ProvisionListenerStackCallback.java
  • core/src/com/google/inject/internal/Errors.java
  • core/src/com/google/inject/internal/MembersInjectorImpl.java
  • core/src/com/google/inject/spi/ErrorDetail.java
  • core/src/com/google/inject/spi/DefaultBindingTargetVisitor.java

By submitting this pull request, I confirm that my contribution abides by the Code of Conduct and will be licensed under the MIT License.

@Copilot Copilot AI review requested due to automatic review settings October 17, 2025 22:48
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new Java refactoring prompt for the "Remove Parameter" refactoring technique. The prompt provides guidance and examples for identifying and removing unused or redundant parameters from Java methods to improve code maintainability.

Key changes:

  • Adds new prompt file with examples and instructions for Java parameter removal refactoring
  • Updates README.prompts.md to include the new prompt in the documentation
  • Minor corrections to existing collection documentation

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
prompts/java-refactoring-remove-parameter.prompt.md New prompt file providing examples and instructions for Java "Remove Parameter" refactoring
README.prompts.md Added entry for the new Java refactoring prompt
collections/power-bi-development.md Updated URLs and descriptions for Power BI collection items
README.collections.md Minor formatting fix for Rust MCP collection description

@aaronpowell aaronpowell merged commit ca37fc8 into github:main Oct 19, 2025
2 checks passed
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.