bind parameter to field: ensure applicable field is chosen/skip already assigned (IDEA-160180)

This commit is contained in:
Anna Kozlova
2016-08-25 21:03:40 +03:00
parent ca410786df
commit 1784622744
4 changed files with 42 additions and 5 deletions
@@ -0,0 +1,11 @@
// "Bind constructor parameters to fields" "true"
class BindField {
private final String myAgent;
private final Integer myInstrumentAgent;
public BindField(String agent, Integer instrumentAgent) {
myAgent = agent;
myInstrumentAgent = instrumentAgent;
}
}
@@ -0,0 +1,8 @@
// "Bind constructor parameters to fields" "true"
class BindField {
private final String myAgent;
public BindField(String agent, Integer instrum<caret>entAgent) {
}
}