diff --git a/python/src/com/jetbrains/python/psi/impl/stubs/PyClassElementType.java b/python/src/com/jetbrains/python/psi/impl/stubs/PyClassElementType.java index cd876ac0009d..31425338bf76 100644 --- a/python/src/com/jetbrains/python/psi/impl/stubs/PyClassElementType.java +++ b/python/src/com/jetbrains/python/psi/impl/stubs/PyClassElementType.java @@ -74,10 +74,10 @@ public class PyClassElementType extends PyStubElementType public void indexStub(final PyClassStub stub, final IndexSink sink) { final String name = stub.getName(); if (name != null) { - sink.occurence(PyClassNameIndex.KEY, name); + sink.occurrence(PyClassNameIndex.KEY, name); } for(String s: stub.getSuperClasses()) { - sink.occurence(PySuperClassIndex.KEY, s); + sink.occurrence(PySuperClassIndex.KEY, s); } } } \ No newline at end of file diff --git a/python/src/com/jetbrains/python/psi/impl/stubs/PyFunctionElementType.java b/python/src/com/jetbrains/python/psi/impl/stubs/PyFunctionElementType.java index cadc9e8b3ad8..f2c1c72ef5a2 100644 --- a/python/src/com/jetbrains/python/psi/impl/stubs/PyFunctionElementType.java +++ b/python/src/com/jetbrains/python/psi/impl/stubs/PyFunctionElementType.java @@ -50,7 +50,7 @@ public class PyFunctionElementType extends PyStubElementType