We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This line: ClipboardContent content = new ClipboardContent();
ClipboardContent content = new ClipboardContent();
I think it would be okay to have this as a private final global variable and reuse it with each motion event
putString calls
putString
public final boolean putString(String s) { if (s == null) { remove(DataFormat.PLAIN_TEXT); } else { put(DataFormat.PLAIN_TEXT, s); } return true; }
so the old content will be removed anyways
The text was updated successfully, but these errors were encountered:
#13 Object creation optimization
95f63c6
Thanks.
Sorry, something went wrong.
No branches or pull requests
This line:
ClipboardContent content = new ClipboardContent();
I think it would be okay to have this as a private final global variable and reuse it with each motion event
putString
callsso the old content will be removed anyways
The text was updated successfully, but these errors were encountered: