if (triplet[2]==null || triplet[2].equals("")){
if (triplet.length!=3 || triplet[2]==null || triplet[2].equals("")){
        public void parseStringArray(String parts){            int vIndex,nIndex,tIndex;            String[] triplet=parts.split("/");            vIndex=Integer.parseInt(triplet[0]);            if (vIndex<0){                vertex=(Vector3f) vertexList.get(vertexList.size()+vIndex);            } else{                vertex=(Vector3f) vertexList.get(vIndex-1); // obj is 1 indexed            }            if (triplet[1]==null || triplet[1].equals("")){                texture=null;            } else{                tIndex=Integer.parseInt(triplet[1]);                if (tIndex<0){                    texture=(Vector2f) textureList.get(textureList.size()+tIndex);                } else{                    texture=(Vector2f) textureList.get(tIndex-1); // obj is 1 indexed                }            }            if (triplet[2]==null || triplet[2].equals("")){                normal=null;            } else{                nIndex=Integer.parseInt(triplet[2]);                if (nIndex<0){                    normal=(Vector3f) normalList.get(normalList.size()+nIndex);                } else{                    normal=(Vector3f) normalList.get(nIndex-1); // obj is 1 indexed                }            }        }