| Summary: | Space appended to receiverName on construction sites | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Stefan Henss <stefan.henss> | ||||
| Component: | Recommenders | Assignee: | Marcel Bruch <marcel.bruch> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Stefan Henss
Created attachment 190109 [details]
Example of templates completion w/ build 249
I tried to reproduce bug couldn't. This screenshot shows my setup and what it proposes. maybe you could submit a test case to the templates test plug-in?
added:
private void setReceiverName(final char[] name) {
String s = String.valueOf(name);
setReceiverName(s);
}
private void setReceiverName(final String name) {
receiverName = StringUtils.deleteWhitespace(name);
}
to IntelligentCompletionContext. Whitespaces in receiver names should be nuked now.
could you remove your code that chops the whitespace but write a test that ensures that reveceiverNames do not end with a whitespace? Closing this issue. Please give latest dev build (v0.5) a try: http://download.eclipse.org/recommenders/updates/dev/e37/ http://download.eclipse.org/recommenders/updates/dev/e42/ Closing this issue. Please give latest dev build (v0.5) a try: http://download.eclipse.org/recommenders/updates/dev/e37/ http://download.eclipse.org/recommenders/updates/dev/e42/ |