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

Jdt LambdaExpressionAndMethodRefCleanUp - comment dropped when converted to expression #480

Open
cal101 opened this issue Mar 16, 2021 · 0 comments

Comments

@cal101
Copy link
Collaborator

cal101 commented Mar 16, 2021

The input

this.hashFunc = key -> {
			//默认使用FNV1hash算法			
			return HashUtil.fnvHash(key.toString());			
		};

becomes

this.hashFunc = key -> HashUtil.fnvHash(key.toString());

@Fabrice-TIERCELIN I read your ticket about important/not important comments and that non important comments may be removed. I agree there are cases like that depending on the cleanup used. But I think comments like the comment above explain most probably something about the solution and since only syntax is removed IMO it should be kept.

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

No branches or pull requests

1 participant