In TDirectory::WriteObject add a protection in case the object is null. Add more comments to WriteObjectAny
In TDirectory::WriteObject add a protection in case the object is null.
Add more comments to WriteObjectAny


git-svn-id: acec3fd5b7ea1eb9e79d6329d318e8118ee2e14f@9015 27541ba8-7e3a-0410-8455-c3a389f83636

sbinet/cxx-root,nilqed/root,CristinaCristescu/root,pspe/root,cxx-hep/root-cern,mhuwiler/rootauto,davidlt/root,Dr15Jones/root,root-mirror/root,simonpf/root,davidlt/root,dfunke/root,davidlt/root,root-mirror/root,sirinath/root,thomaskeck/root,esakellari/my_root_for_test,zzxuanyuan/root,zzxuanyuan/root,vukasinmilosevic/root,omazapa/root,omazapa/root-old,lgiommi/root,gbitzes/root,Y--/root,davidlt/root,simonpf/root,BerserkerTroll/root,esakellari/my_root_for_test,agarciamontoro/root,simonpf/root,nilqed/root,mattkretz/root,Duraznos/root,simonpf/root,pspe/root,Y--/root,sawenzel/root,ffurano/root5,satyarth934/root,cxx-hep/root-cern,0x0all/ROOT,dfunke/root,dfunke/root,lgiommi/root,gganis/root,esakellari/my_root_for_test,nilqed/root,dfunke/root,pspe/root,sawenzel/root,CristinaCristescu/root,mattkretz/root,perovic/root,perovic/root,nilqed/root,davidlt/root,CristinaCristescu/root,0x0all/ROOT,pspe/root,smarinac/root,esakellari/my_root_for_test,arch1tect0r/root,mhuwiler/rootauto,agarciamontoro/root,ffurano/root5,pspe/root,zzxuanyuan/root-compressor-dummy,alexschlueter/cern-root,mkret2/root,georgtroska/root,buuck/root,zzxuanyuan/root-compressor-dummy,evgeny-boger/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,ffurano/root5,krafczyk/root,jrtomps/root,jrtomps/root,mattkretz/root,veprbl/root,lgiommi/root,CristinaCristescu/root,CristinaCristescu/root,karies/root,BerserkerTroll/root,zzxuanyuan/root,Duraznos/root,Dr15Jones/root,Duraznos/root,veprbl/root,vukasinmilosevic/root,Duraznos/root,cxx-hep/root-cern,lgiommi/root,Duraznos/root,satyarth934/root,omazapa/root-old,gganis/root,karies/root,BerserkerTroll/root,olifre/root,bbockelm/root,sirinath/root,sirinath/root,zzxuanyuan/root,karies/root,agarciamontoro/root,gbitzes/root,nilqed/root,sbinet/cxx-root,Y--/root,alexschlueter/cern-root,beniz/root,lgiommi/root,omazapa/root-old,thomaskeck/root,omazapa/root,abhinavmoudgil95/root,BerserkerTroll/root,abhinavmoudgil95/root,georgtroska/root,evgeny-boger/root,alexschlueter/cern-root,BerserkerTroll/root,krafczyk/root,thomaskeck/root,esakellari/my_root_for_test,sawenzel/root,smarinac/root,omazapa/root,veprbl/root,gbitzes/root,esakellari/root,nilqed/root,buuck/root,karies/root,mattkretz/root,simonpf/root,zzxuanyuan/root,georgtroska/root,omazapa/root-old,thomaskeck/root,bbockelm/root,sirinath/root,omazapa/root-old,sbinet/cxx-root,beniz/root,davidlt/root,0x0all/ROOT,karies/root,gganis/root,BerserkerTroll/root,nilqed/root,vukasinmilosevic/root,omazapa/root,veprbl/root,Y--/root,mattkretz/root,karies/root,arch1tect0r/root,veprbl/root,ffurano/root5,perovic/root,Y--/root,vukasinmilosevic/root,omazapa/root,dfunke/root,smarinac/root,mattkretz/root,thomaskeck/root,Dr15Jones/root,simonpf/root,pspe/root,gbitzes/root,abhinavmoudgil95/root,davidlt/root,jrtomps/root,beniz/root,mhuwiler/rootauto,root-mirror/root,veprbl/root,esakellari/my_root_for_test,buuck/root,arch1tect0r/root,krafczyk/root,Duraznos/root,root-mirror/root,mkret2/root,olifre/root,0x0all/ROOT,sbinet/cxx-root,omazapa/root,arch1tect0r/root,simonpf/root,lgiommi/root,mhuwiler/rootauto,Y--/root,simonpf/root,agarciamontoro/root,mhuwiler/rootauto,root-mirror/root,evgeny-boger/root,root-mirror/root,georgtroska/root,zzxuanyuan/root-compressor-dummy,karies/root,gganis/root,zzxuanyuan/root-compressor-dummy,beniz/root,olifre/root,lgiommi/root,georgtroska/root,mkret2/root,abhinavmoudgil95/root,0x0all/ROOT,lgiommi/root,sbinet/cxx-root,abhinavmoudgil95/root,bbockelm/root,kirbyherm/root-r-tools,Y--/root,dfunke/root,tc3t/qoot,nilqed/root,sawenzel/root,sbinet/cxx-root,olifre/root,Y--/root,arch1tect0r/root,buuck/root,davidlt/root,zzxuanyuan/root-compressor-dummy,abhinavmoudgil95/root,buuck/root,CristinaCristescu/root,gganis/root,buuck/root,davidlt/root,root-mirror/root,pspe/root,sbinet/cxx-root,vukasinmilosevic/root,mhuwiler/rootauto,mhuwiler/rootauto,omazapa/root,kirbyherm/root-r-tools,arch1tect0r/root,mkret2/root,nilqed/root,krafczyk/root,perovic/root,tc3t/qoot,arch1tect0r/root,smarinac/root,sirinath/root,omazapa/root,tc3t/qoot,alexschlueter/cern-root,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,arch1tect0r/root,mhuwiler/rootauto,krafczyk/root,kirbyherm/root-r-tools,Duraznos/root,sawenzel/root,satyarth934/root,vukasinmilosevic/root,smarinac/root,georgtroska/root,cxx-hep/root-cern,alexschlueter/cern-root,dfunke/root,buuck/root,sawenzel/root,evgeny-boger/root,bbockelm/root,perovic/root,cxx-hep/root-cern,Duraznos/root,alexschlueter/cern-root,sbinet/cxx-root,zzxuanyuan/root,sawenzel/root,kirbyherm/root-r-tools,CristinaCristescu/root,arch1tect0r/root,buuck/root,zzxuanyuan/root-compressor-dummy,gganis/root,nilqed/root,gganis/root,sirinath/root,thomaskeck/root,Dr15Jones/root,zzxuanyuan/root,pspe/root,gbitzes/root,omazapa/root-old,olifre/root,veprbl/root,evgeny-boger/root,buuck/root,esakellari/root,buuck/root,vukasinmilosevic/root,gganis/root,esakellari/root,esakellari/root,zzxuanyuan/root-compressor-dummy,strykejern/TTreeReader,satyarth934/root,mhuwiler/rootauto,smarinac/root,gganis/root,dfunke/root,bbockelm/root,dfunke/root,esakellari/root,vukasinmilosevic/root,BerserkerTroll/root,jrtomps/root,satyarth934/root,abhinavmoudgil95/root,agarciamontoro/root,krafczyk/root,thomaskeck/root,omazapa/root-old,smarinac/root,Duraznos/root,beniz/root,karies/root,evgeny-boger/root,strykejern/TTreeReader,georgtroska/root,mkret2/root,jrtomps/root,jrtomps/root,zzxuanyuan/root,simonpf/root,zzxuanyuan/root,mkret2/root,strykejern/TTreeReader,satyarth934/root,root-mirror/root,mattkretz/root,BerserkerTroll/root,smarinac/root,gbitzes/root,zzxuanyuan/root-compressor-dummy,perovic/root,pspe/root,omazapa/root,arch1tect0r/root,zzxuanyuan/root-compressor-dummy,CristinaCristescu/root,sbinet/cxx-root,BerserkerTroll/root,satyarth934/root,Duraznos/root,cxx-hep/root-cern,esakellari/root,bbockelm/root,esakellari/root,omazapa/root-old,omazapa/root,gbitzes/root,satyarth934/root,beniz/root,sirinath/root,gbitzes/root,cxx-hep/root-cern,mattkretz/root,zzxuanyuan/root,Dr15Jones/root,krafczyk/root,mattkretz/root,beniz/root,smarinac/root,root-mirror/root,bbockelm/root,omazapa/root-old,mhuwiler/rootauto,tc3t/qoot,veprbl/root,agarciamontoro/root,sawenzel/root,omazapa/root-old,sbinet/cxx-root,Y--/root,gbitzes/root,jrtomps/root,sawenzel/root,lgiommi/root,gbitzes/root,lgiommi/root,kirbyherm/root-r-tools,karies/root,satyarth934/root,jrtomps/root,olifre/root,thomaskeck/root,jrtomps/root,georgtroska/root,evgeny-boger/root,tc3t/qoot,simonpf/root,krafczyk/root,sawenzel/root,perovic/root,BerserkerTroll/root,Dr15Jones/root,jrtomps/root,CristinaCristescu/root,mkret2/root,tc3t/qoot,veprbl/root,jrtomps/root,satyarth934/root,gganis/root,krafczyk/root,gganis/root,agarciamontoro/root,omazapa/root-old,simonpf/root,mkret2/root,krafczyk/root,esakellari/my_root_for_test,sirinath/root,mhuwiler/rootauto,0x0all/ROOT,agarciamontoro/root,mkret2/root,strykejern/TTreeReader,0x0all/ROOT,esakellari/my_root_for_test,abhinavmoudgil95/root,kirbyherm/root-r-tools,vukasinmilosevic/root,BerserkerTroll/root,abhinavmoudgil95/root,beniz/root,thomaskeck/root,esakellari/root,zzxuanyuan/root,abhinavmoudgil95/root,strykejern/TTreeReader,sbinet/cxx-root,esakellari/root,kirbyherm/root-r-tools,ffurano/root5,perovic/root,vukasinmilosevic/root,Y--/root,nilqed/root,beniz/root,karies/root,veprbl/root,olifre/root,mattkretz/root,esakellari/my_root_for_test,mkret2/root,dfunke/root,bbockelm/root,dfunke/root,alexschlueter/cern-root,davidlt/root,arch1tect0r/root,Duraznos/root,olifre/root,strykejern/TTreeReader,davidlt/root,olifre/root,zzxuanyuan/root,strykejern/TTreeReader,olifre/root,perovic/root,mkret2/root,georgtroska/root,evgeny-boger/root,karies/root,sirinath/root,Y--/root,evgeny-boger/root,root-mirror/root,sirinath/root,tc3t/qoot,pspe/root,tc3t/qoot,bbockelm/root,sirinath/root,0x0all/ROOT,ffurano/root5,perovic/root,evgeny-boger/root,veprbl/root,cxx-hep/root-cern,lgiommi/root,CristinaCristescu/root,thomaskeck/root,bbockelm/root,vukasinmilosevic/root,satyarth934/root,ffurano/root5,buuck/root,esakellari/root,krafczyk/root,root-mirror/root,olifre/root,smarinac/root,sawenzel/root,georgtroska/root,agarciamontoro/root,omazapa/root,Dr15Jones/root,pspe/root,gbitzes/root,bbockelm/root,esakellari/root,agarciamontoro/root,0x0all/ROOT,evgeny-boger/root,mattkretz/root,esakellari/my_root_for_test,beniz/root,perovic/root,agarciamontoro/root,beniz/root,tc3t/qoot,tc3t/qoot,abhinavmoudgil95/root