Refactoring: Fix warnings about absent final and spelling mistake

This commit is contained in:
Nikolay Krasko
2013-06-13 17:48:44 +04:00
parent f558942fdf
commit bf8d5c37ed
@@ -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