Cal Poly athlete competes in javelin event