The maintenance technician was lying down, replacing a hydraulic temp sensor on an excavator. Upon removal of the sensor, hydraulic oil poured onto the technician's face and safety glasses. The employee removed self from the area and wiped the oil from face. While doing so, oil got into the corner of the employee's left eye and began to burn.