Community
Participate
Working Groups
M7 - use introduce parameter object on the folloing method and change field names to 'fX', 'fY' and 'fZ' package p; public class A extends TestCase { private void foo(int x, int y, int z) { } } - the result not only used the field names for the fields, but also for the parameters. The parameters should be unchanged from the original parameters (or we offer to configure this) public class FooParameter { public int fX; public int fY; public int fZ; public FooParameter(int fX, int fY, int fZ) { this.fX = fX; this.fY = fY; this.fZ = fZ; } }
*** Bug 187283 has been marked as a duplicate of this bug. ***
Created attachment 68589 [details] Extract Parameter names from field name
Created attachment 68602 [details] improved patch - only call 'getParameterName' once - simple name has already correct plurality. No dimension needs to be added. Karsten, can you add a test that tests the correct use of parameter prefixes?
Benno, can you review?
Created attachment 68628 [details] Added test for param prefix/suffix
last patch is good
Patch is good Fixed > I20070525-0010
verified in I20070527-0010