Refactoring: Fix warnings about absent final and spelling mistake
This commit is contained in:
@@ -29,13 +29,13 @@ import java.util.Collections;
|
|||||||
* Date: 24.01.12
|
* Date: 24.01.12
|
||||||
*/
|
*/
|
||||||
public class MockParameterInfoUIContext implements ParameterInfoUIContext {
|
public class MockParameterInfoUIContext implements ParameterInfoUIContext {
|
||||||
private PsiElement myParaeterOwner;
|
private final PsiElement myParameterOwner;
|
||||||
private int myCurrentParameterIndex;
|
private final int myCurrentParameterIndex;
|
||||||
|
|
||||||
private ArrayList<String> result = new ArrayList<String>();
|
private final ArrayList<String> result = new ArrayList<String>();
|
||||||
|
|
||||||
MockParameterInfoUIContext(PsiElement parameterOwner, int currentParameterIndex) {
|
MockParameterInfoUIContext(PsiElement parameterOwner, int currentParameterIndex) {
|
||||||
myParaeterOwner = parameterOwner;
|
myParameterOwner = parameterOwner;
|
||||||
myCurrentParameterIndex = currentParameterIndex;
|
myCurrentParameterIndex = currentParameterIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -66,7 +66,7 @@ public class MockParameterInfoUIContext implements ParameterInfoUIContext {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public PsiElement getParameterOwner() {
|
public PsiElement getParameterOwner() {
|
||||||
return myParaeterOwner;
|
return myParameterOwner;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user