Skip to content

Conversation

@thunder-coding
Copy link
Member

@thunder-coding thunder-coding commented Apr 3, 2025

@Override
public void writeResult(PrintWriter out) {
clipboard.setPrimaryClip(ClipData.newPlainText("", inputString));
var clipData = ClipData.newPlainText("", inputString);
Copy link
Member Author

Choose a reason for hiding this comment

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

I am not familar with how you prefer to write Java, but I prefer to use implicit types where available in strictly typed languages. var should do the trick instead of having to write large classnames, or you want me to change this to maintain consistency of smell with other parts of the code?

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.

1 participant