Removed code duplication
Removed code duplication

getItem() and contains() act exactly the same

christ66/jenkins,azweb76/jenkins,pjanouse/jenkins,stephenc/jenkins,ErikVerheul/jenkins,escoem/jenkins,DanielWeber/jenkins,tfennelly/jenkins,amuniz/jenkins,Jochen-A-Fuerbacher/jenkins,tangkun75/jenkins,MichaelPranovich/jenkins_sc,MarkEWaite/jenkins,alvarolobato/jenkins,jenkinsci/jenkins,alvarolobato/jenkins,SebastienGllmt/jenkins,damianszczepanik/jenkins,lilyJi/jenkins,dennisjlee/jenkins,amuniz/jenkins,damianszczepanik/jenkins,gitaccountforprashant/gittest,escoem/jenkins,MarkEWaite/jenkins,v1v/jenkins,tfennelly/jenkins,jenkinsci/jenkins,Ykus/jenkins,protazy/jenkins,DanielWeber/jenkins,rlugojr/jenkins,ydubreuil/jenkins,bkmeneguello/jenkins,ErikVerheul/jenkins,amuniz/jenkins,viqueen/jenkins,Jimilian/jenkins,pjanouse/jenkins,FarmGeek4Life/jenkins,jpbriend/jenkins,pjanouse/jenkins,oleg-nenashev/jenkins,Jimilian/jenkins,escoem/jenkins,christ66/jenkins,MichaelPranovich/jenkins_sc,viqueen/jenkins,sathiya-mit/jenkins,MarkEWaite/jenkins,damianszczepanik/jenkins,azweb76/jenkins,azweb76/jenkins,vjuranek/jenkins,kohsuke/hudson,oleg-nenashev/jenkins,rlugojr/jenkins,pjanouse/jenkins,v1v/jenkins,batmat/jenkins,jglick/jenkins,aldaris/jenkins,jpbriend/jenkins,ndeloof/jenkins,FarmGeek4Life/jenkins,damianszczepanik/jenkins,batmat/jenkins,lilyJi/jenkins,viqueen/jenkins,dennisjlee/jenkins,v1v/jenkins,dennisjlee/jenkins,damianszczepanik/jenkins,ikedam/jenkins,ikedam/jenkins,bkmeneguello/jenkins,rlugojr/jenkins,rlugojr/jenkins,dariver/jenkins,Ykus/jenkins,andresrc/jenkins,jglick/jenkins,viqueen/jenkins,Vlatombe/jenkins,oleg-nenashev/jenkins,kohsuke/hudson,DanielWeber/jenkins,christ66/jenkins,viqueen/jenkins,dariver/jenkins,alvarolobato/jenkins,hplatou/jenkins,aldaris/jenkins,azweb76/jenkins,fbelzunc/jenkins,NehemiahMi/jenkins,jenkinsci/jenkins,stephenc/jenkins,Jochen-A-Fuerbacher/jenkins,andresrc/jenkins,ajshastri/jenkins,batmat/jenkins,fbelzunc/jenkins,NehemiahMi/jenkins,MichaelPranovich/jenkins_sc,jenkinsci/jenkins,pjanouse/jenkins,vjuranek/jenkins,ikedam/jenkins,Vlatombe/jenkins,ikedam/jenkins,olivergondza/jenkins,NehemiahMi/jenkins,daniel-beck/jenkins,wuwen5/jenkins,oleg-nenashev/jenkins,bpzhang/jenkins,gitaccountforprashant/gittest,azweb76/jenkins,olivergondza/jenkins,rsandell/jenkins,kohsuke/hudson,protazy/jenkins,recena/jenkins,damianszczepanik/jenkins,bpzhang/jenkins,tfennelly/jenkins,vjuranek/jenkins,dennisjlee/jenkins,dariver/jenkins,christ66/jenkins,stephenc/jenkins,andresrc/jenkins,jpbriend/jenkins,aldaris/jenkins,bpzhang/jenkins,aldaris/jenkins,aldaris/jenkins,dennisjlee/jenkins,godfath3r/jenkins,protazy/jenkins,ErikVerheul/jenkins,patbos/jenkins,protazy/jenkins,rsandell/jenkins,SebastienGllmt/jenkins,gitaccountforprashant/gittest,amuniz/jenkins,jpbriend/jenkins,alvarolobato/jenkins,andresrc/jenkins,ErikVerheul/jenkins,DanielWeber/jenkins,jpbriend/jenkins,alvarolobato/jenkins,andresrc/jenkins,kohsuke/hudson,rsandell/jenkins,ajshastri/jenkins,MarkEWaite/jenkins,DanielWeber/jenkins,tfennelly/jenkins,protazy/jenkins,rsandell/jenkins,jenkinsci/jenkins,NehemiahMi/jenkins,batmat/jenkins,rsandell/jenkins,sathiya-mit/jenkins,godfath3r/jenkins,FarmGeek4Life/jenkins,stephenc/jenkins,rsandell/jenkins,daniel-beck/jenkins,FarmGeek4Life/jenkins,ikedam/jenkins,lilyJi/jenkins,tangkun75/jenkins,wuwen5/jenkins,SebastienGllmt/jenkins,hplatou/jenkins,ajshastri/jenkins,patbos/jenkins,dariver/jenkins,ndeloof/jenkins,jglick/jenkins,patbos/jenkins,godfath3r/jenkins,dariver/jenkins,sathiya-mit/jenkins,Jimilian/jenkins,SebastienGllmt/jenkins,ikedam/jenkins,NehemiahMi/jenkins,ikedam/jenkins,NehemiahMi/jenkins,DanielWeber/jenkins,azweb76/jenkins,fbelzunc/jenkins,pjanouse/jenkins,escoem/jenkins,Jochen-A-Fuerbacher/jenkins,batmat/jenkins,vjuranek/jenkins,Ykus/jenkins,stephenc/jenkins,vjuranek/jenkins,lilyJi/jenkins,wuwen5/jenkins,fbelzunc/jenkins,escoem/jenkins,SebastienGllmt/jenkins,sathiya-mit/jenkins,dennisjlee/jenkins,daniel-beck/jenkins,escoem/jenkins,hplatou/jenkins,tangkun75/jenkins,Vlatombe/jenkins,MarkEWaite/jenkins,MichaelPranovich/jenkins_sc,MarkEWaite/jenkins,olivergondza/jenkins,patbos/jenkins,recena/jenkins,amuniz/jenkins,ErikVerheul/jenkins,oleg-nenashev/jenkins,wuwen5/jenkins,Jochen-A-Fuerbacher/jenkins,jglick/jenkins,recena/jenkins,Jochen-A-Fuerbacher/jenkins,fbelzunc/jenkins,hplatou/jenkins,bkmeneguello/jenkins,ydubreuil/jenkins,daniel-beck/jenkins,fbelzunc/jenkins,patbos/jenkins,kohsuke/hudson,rlugojr/jenkins,ErikVerheul/jenkins,jpbriend/jenkins,christ66/jenkins,bkmeneguello/jenkins,gitaccountforprashant/gittest,gitaccountforprashant/gittest,patbos/jenkins,jenkinsci/jenkins,daniel-beck/jenkins,Vlatombe/jenkins,jenkinsci/jenkins,ajshastri/jenkins,kohsuke/hudson,olivergondza/jenkins,ydubreuil/jenkins,hplatou/jenkins,godfath3r/jenkins,Ykus/jenkins,dariver/jenkins,damianszczepanik/jenkins,ndeloof/jenkins,bpzhang/jenkins,hplatou/jenkins,amuniz/jenkins,v1v/jenkins,rlugojr/jenkins,rsandell/jenkins,recena/jenkins,daniel-beck/jenkins,vjuranek/jenkins,MichaelPranovich/jenkins_sc,sathiya-mit/jenkins,FarmGeek4Life/jenkins,godfath3r/jenkins,bpzhang/jenkins,andresrc/jenkins,azweb76/jenkins,jpbriend/jenkins,Ykus/jenkins,ndeloof/jenkins,ndeloof/jenkins,sathiya-mit/jenkins,Jimilian/jenkins,Jochen-A-Fuerbacher/jenkins,v1v/jenkins,fbelzunc/jenkins,oleg-nenashev/jenkins,bpzhang/jenkins,v1v/jenkins,tangkun75/jenkins,daniel-beck/jenkins,ErikVerheul/jenkins,christ66/jenkins,MichaelPranovich/jenkins_sc,damianszczepanik/jenkins,alvarolobato/jenkins,olivergondza/jenkins,sathiya-mit/jenkins,ndeloof/jenkins,viqueen/jenkins,tfennelly/jenkins,amuniz/jenkins,wuwen5/jenkins,stephenc/jenkins,DanielWeber/jenkins,ydubreuil/jenkins,Ykus/jenkins,godfath3r/jenkins,aldaris/jenkins,bkmeneguello/jenkins,batmat/jenkins,ydubreuil/jenkins,ajshastri/jenkins,protazy/jenkins,NehemiahMi/jenkins,MarkEWaite/jenkins,godfath3r/jenkins,aldaris/jenkins,jglick/jenkins,wuwen5/jenkins,hplatou/jenkins,recena/jenkins,pjanouse/jenkins,jenkinsci/jenkins,escoem/jenkins,batmat/jenkins,Vlatombe/jenkins,kohsuke/hudson,ydubreuil/jenkins,tangkun75/jenkins,SebastienGllmt/jenkins,jglick/jenkins,rlugojr/jenkins,viqueen/jenkins,dariver/jenkins,lilyJi/jenkins,jglick/jenkins,alvarolobato/jenkins,bpzhang/jenkins,protazy/jenkins,v1v/jenkins,Vlatombe/jenkins,vjuranek/jenkins,ajshastri/jenkins,gitaccountforprashant/gittest,ikedam/jenkins,MichaelPranovich/jenkins_sc,lilyJi/jenkins,ydubreuil/jenkins,olivergondza/jenkins,christ66/jenkins,tfennelly/jenkins,olivergondza/jenkins,tangkun75/jenkins,Jimilian/jenkins,gitaccountforprashant/gittest,oleg-nenashev/jenkins,kohsuke/hudson,Ykus/jenkins,rsandell/jenkins,bkmeneguello/jenkins,Jochen-A-Fuerbacher/jenkins,ajshastri/jenkins,tangkun75/jenkins,tfennelly/jenkins,recena/jenkins,Jimilian/jenkins,Jimilian/jenkins,andresrc/jenkins,ndeloof/jenkins,dennisjlee/jenkins,patbos/jenkins,FarmGeek4Life/jenkins,Vlatombe/jenkins,FarmGeek4Life/jenkins,SebastienGllmt/jenkins,lilyJi/jenkins,stephenc/jenkins,MarkEWaite/jenkins,recena/jenkins,daniel-beck/jenkins,wuwen5/jenkins,bkmeneguello/jenkins