Fixed StringBuilder.insert
Fixed StringBuilder.insert

Test code:
		StringBuilder b = new StringBuilder("test123");
		int offset = 2;
		char[] str = "ABCD".toCharArray();
		b.insert(offset, str, 1, 2);
		System.out.println("b: " + b);
		System.out.println("str: " + new String(str));

		// wrong:
		// b: tesest1
		// str: ABBC

		// right:
		// b: teBCst123
		// str: ABCD

zommuter/libgdx,jsjolund/libgdx,flaiker/libgdx,yangweigbh/libgdx,czyzby/libgdx,djom20/libgdx,toloudis/libgdx,gouessej/libgdx,hyvas/libgdx,kzganesan/libgdx,Gliby/libgdx,djom20/libgdx,kagehak/libgdx,SidneyXu/libgdx,Badazdz/libgdx,js78/libgdx,noelsison2/libgdx,designcrumble/libgdx,stickyd/libgdx,ricardorigodon/libgdx,SidneyXu/libgdx,nave966/libgdx,Wisienkas/libgdx,firefly2442/libgdx,BlueRiverInteractive/libgdx,ya7lelkom/libgdx,JFixby/libgdx,kagehak/libgdx,hyvas/libgdx,jasonwee/libgdx,tommycli/libgdx,Badazdz/libgdx,MadcowD/libgdx,xoppa/libgdx,curtiszimmerman/libgdx,PedroRomanoBarbosa/libgdx,fiesensee/libgdx,FyiurAmron/libgdx,stinsonga/libgdx,MikkelTAndersen/libgdx,lordjone/libgdx,jasonwee/libgdx,basherone/libgdxcn,andyvand/libgdx,realitix/libgdx,basherone/libgdxcn,sinistersnare/libgdx,nelsonsilva/libgdx,shiweihappy/libgdx,shiweihappy/libgdx,katiepino/libgdx,FyiurAmron/libgdx,youprofit/libgdx,Senth/libgdx,Senth/libgdx,xoppa/libgdx,ttencate/libgdx,Badazdz/libgdx,SidneyXu/libgdx,JDReutt/libgdx,xranby/libgdx,realitix/libgdx,309746069/libgdx,nelsonsilva/libgdx,fiesensee/libgdx,ricardorigodon/libgdx,mumer92/libgdx,thepullman/libgdx,EsikAntony/libgdx,kotcrab/libgdx,toloudis/libgdx,toa5/libgdx,titovmaxim/libgdx,luischavez/libgdx,gdos/libgdx,xoppa/libgdx,djom20/libgdx,shiweihappy/libgdx,gouessej/libgdx,FyiurAmron/libgdx,SidneyXu/libgdx,fwolff/libgdx,nrallakis/libgdx,ya7lelkom/libgdx,BlueRiverInteractive/libgdx,thepullman/libgdx,alex-dorokhov/libgdx,PedroRomanoBarbosa/libgdx,junkdog/libgdx,BlueRiverInteractive/libgdx,haedri/libgdx-1,Dzamir/libgdx,hyvas/libgdx,kagehak/libgdx,nrallakis/libgdx,jsjolund/libgdx,saqsun/libgdx,revo09/libgdx,youprofit/libgdx,sjosegarcia/libgdx,xoppa/libgdx,kagehak/libgdx,309746069/libgdx,samskivert/libgdx,nudelchef/libgdx,snovak/libgdx,samskivert/libgdx,samskivert/libgdx,TheAks999/libgdx,bladecoder/libgdx,MovingBlocks/libgdx,mumer92/libgdx,NathanSweet/libgdx,UnluckyNinja/libgdx,curtiszimmerman/libgdx,nudelchef/libgdx,shiweihappy/libgdx,haedri/libgdx-1,bsmr-java/libgdx,EsikAntony/libgdx,firefly2442/libgdx,UnluckyNinja/libgdx,jberberick/libgdx,davebaol/libgdx,bgroenks96/libgdx,Xhanim/libgdx,josephknight/libgdx,PedroRomanoBarbosa/libgdx,jasonwee/libgdx,flaiker/libgdx,alireza-hosseini/libgdx,haedri/libgdx-1,ninoalma/libgdx,tell10glu/libgdx,junkdog/libgdx,haedri/libgdx-1,nelsonsilva/libgdx,ThiagoGarciaAlves/libgdx,MovingBlocks/libgdx,PedroRomanoBarbosa/libgdx,js78/libgdx,fiesensee/libgdx,kzganesan/libgdx,JFixby/libgdx,ya7lelkom/libgdx,Badazdz/libgdx,revo09/libgdx,EsikAntony/libgdx,alireza-hosseini/libgdx,toa5/libgdx,luischavez/libgdx,titovmaxim/libgdx,SidneyXu/libgdx,GreenLightning/libgdx,nave966/libgdx,Thotep/libgdx,Zonglin-Li6565/libgdx,JFixby/libgdx,saqsun/libgdx,nooone/libgdx,lordjone/libgdx,billgame/libgdx,designcrumble/libgdx,xranby/libgdx,js78/libgdx,davebaol/libgdx,jasonwee/libgdx,antag99/libgdx,andyvand/libgdx,ztv/libgdx,firefly2442/libgdx,shiweihappy/libgdx,zhimaijoy/libgdx,petugez/libgdx,BlueRiverInteractive/libgdx,samskivert/libgdx,kzganesan/libgdx,bsmr-java/libgdx,GreenLightning/libgdx,thepullman/libgdx,tommycli/libgdx,realitix/libgdx,billgame/libgdx,codepoke/libgdx,1yvT0s/libgdx,MikkelTAndersen/libgdx,anserran/libgdx,Zonglin-Li6565/libgdx,mumer92/libgdx,alireza-hosseini/libgdx,zhimaijoy/libgdx,bladecoder/libgdx,KrisLee/libgdx,codepoke/libgdx,MetSystem/libgdx,nave966/libgdx,antag99/libgdx,designcrumble/libgdx,sjosegarcia/libgdx,xoppa/libgdx,jberberick/libgdx,Wisienkas/libgdx,collinsmith/libgdx,czyzby/libgdx,petugez/libgdx,Thotep/libgdx,designcrumble/libgdx,Gliby/libgdx,TheAks999/libgdx,sarkanyi/libgdx,ricardorigodon/libgdx,Heart2009/libgdx,toloudis/libgdx,jberberick/libgdx,Zonglin-Li6565/libgdx,ttencate/libgdx,ztv/libgdx,KrisLee/libgdx,sjosegarcia/libgdx,js78/libgdx,zhimaijoy/libgdx,Arcnor/libgdx,FredGithub/libgdx,MetSystem/libgdx,libgdx/libgdx,hyvas/libgdx,fiesensee/libgdx,sjosegarcia/libgdx,JDReutt/libgdx,xranby/libgdx,katiepino/libgdx,sjosegarcia/libgdx,toa5/libgdx,sarkanyi/libgdx,gdos/libgdx,fwolff/libgdx,ya7lelkom/libgdx,junkdog/libgdx,Gliby/libgdx,zhimaijoy/libgdx,JFixby/libgdx,tommycli/libgdx,KrisLee/libgdx,firefly2442/libgdx,revo09/libgdx,libgdx/libgdx,toloudis/libgdx,youprofit/libgdx,lordjone/libgdx,davebaol/libgdx,fiesensee/libgdx,xpenatan/libgdx-LWJGL3,azakhary/libgdx,sarkanyi/libgdx,katiepino/libgdx,kotcrab/libgdx,Badazdz/libgdx,zhimaijoy/libgdx,Heart2009/libgdx,kzganesan/libgdx,antag99/libgdx,djom20/libgdx,Deftwun/libgdx,flaiker/libgdx,kagehak/libgdx,basherone/libgdxcn,mumer92/libgdx,hyvas/libgdx,bsmr-java/libgdx,Zonglin-Li6565/libgdx,haedri/libgdx-1,nrallakis/libgdx,srwonka/libGdx,gdos/libgdx,js78/libgdx,fwolff/libgdx,GreenLightning/libgdx,MetSystem/libgdx,nrallakis/libgdx,KrisLee/libgdx,js78/libgdx,JFixby/libgdx,alireza-hosseini/libgdx,cypherdare/libgdx,ryoenji/libgdx,samskivert/libgdx,Dzamir/libgdx,revo09/libgdx,junkdog/libgdx,Wisienkas/libgdx,flaiker/libgdx,tommyettinger/libgdx,kagehak/libgdx,ttencate/libgdx,revo09/libgdx,toa5/libgdx,MadcowD/libgdx,katiepino/libgdx,designcrumble/libgdx,toloudis/libgdx,MikkelTAndersen/libgdx,anserran/libgdx,Zonglin-Li6565/libgdx,Arcnor/libgdx,srwonka/libGdx,saqsun/libgdx,djom20/libgdx,andyvand/libgdx,FredGithub/libgdx,MovingBlocks/libgdx,SidneyXu/libgdx,MadcowD/libgdx,MikkelTAndersen/libgdx,shiweihappy/libgdx,jsjolund/libgdx,nrallakis/libgdx,Xhanim/libgdx,snovak/libgdx,saltares/libgdx,azakhary/libgdx,ryoenji/libgdx,Wisienkas/libgdx,josephknight/libgdx,alireza-hosseini/libgdx,titovmaxim/libgdx,zhimaijoy/libgdx,firefly2442/libgdx,ricardorigodon/libgdx,Badazdz/libgdx,azakhary/libgdx,MikkelTAndersen/libgdx,alireza-hosseini/libgdx,youprofit/libgdx,davebaol/libgdx,NathanSweet/libgdx,GreenLightning/libgdx,309746069/libgdx,fwolff/libgdx,sarkanyi/libgdx,KrisLee/libgdx,nudelchef/libgdx,SidneyXu/libgdx,gf11speed/libgdx,titovmaxim/libgdx,jberberick/libgdx,Senth/libgdx,snovak/libgdx,ztv/libgdx,ryoenji/libgdx,Senth/libgdx,lordjone/libgdx,mumer92/libgdx,FredGithub/libgdx,kzganesan/libgdx,tell10glu/libgdx,ya7lelkom/libgdx,josephknight/libgdx,basherone/libgdxcn,js78/libgdx,revo09/libgdx,srwonka/libGdx,collinsmith/libgdx,samskivert/libgdx,bgroenks96/libgdx,josephknight/libgdx,ya7lelkom/libgdx,Thotep/libgdx,bsmr-java/libgdx,junkdog/libgdx,ninoalma/libgdx,yangweigbh/libgdx,zommuter/libgdx,ThiagoGarciaAlves/libgdx,thepullman/libgdx,Xhanim/libgdx,stinsonga/libgdx,del-sol/libgdx,Thotep/libgdx,antag99/libgdx,fiesensee/libgdx,codepoke/libgdx,curtiszimmerman/libgdx,xoppa/libgdx,MikkelTAndersen/libgdx,fiesensee/libgdx,andyvand/libgdx,Heart2009/libgdx,stinsonga/libgdx,jasonwee/libgdx,realitix/libgdx,NathanSweet/libgdx,collinsmith/libgdx,MovingBlocks/libgdx,bladecoder/libgdx,xoppa/libgdx,xpenatan/libgdx-LWJGL3,titovmaxim/libgdx,katiepino/libgdx,Wisienkas/libgdx,noelsison2/libgdx,Deftwun/libgdx,katiepino/libgdx,PedroRomanoBarbosa/libgdx,hyvas/libgdx,luischavez/libgdx,cypherdare/libgdx,snovak/libgdx,alex-dorokhov/libgdx,JFixby/libgdx,KrisLee/libgdx,Zomby2D/libgdx,curtiszimmerman/libgdx,Thotep/libgdx,sinistersnare/libgdx,kzganesan/libgdx,tommycli/libgdx,TheAks999/libgdx,KrisLee/libgdx,billgame/libgdx,lordjone/libgdx,youprofit/libgdx,ryoenji/libgdx,zommuter/libgdx,sinistersnare/libgdx,realitix/libgdx,gf11speed/libgdx,tell10glu/libgdx,BlueRiverInteractive/libgdx,toa5/libgdx,copystudy/libgdx,realitix/libgdx,Senth/libgdx,Heart2009/libgdx,EsikAntony/libgdx,alireza-hosseini/libgdx,Arcnor/libgdx,309746069/libgdx,309746069/libgdx,hyvas/libgdx,UnluckyNinja/libgdx,ttencate/libgdx,saltares/libgdx,saltares/libgdx,SidneyXu/libgdx,nrallakis/libgdx,srwonka/libGdx,zommuter/libgdx,josephknight/libgdx,Wisienkas/libgdx,billgame/libgdx,MadcowD/libgdx,stickyd/libgdx,bgroenks96/libgdx,libgdx/libgdx,copystudy/libgdx,petugez/libgdx,codepoke/libgdx,alex-dorokhov/libgdx,czyzby/libgdx,xoppa/libgdx,ninoalma/libgdx,stickyd/libgdx,Gliby/libgdx,Deftwun/libgdx,gf11speed/libgdx,del-sol/libgdx,FredGithub/libgdx,nave966/libgdx,curtiszimmerman/libgdx,anserran/libgdx,stickyd/libgdx,Xhanim/libgdx,tommycli/libgdx,davebaol/libgdx,del-sol/libgdx,ThiagoGarciaAlves/libgdx,gouessej/libgdx,zommuter/libgdx,MadcowD/libgdx,1yvT0s/libgdx,flaiker/libgdx,srwonka/libGdx,yangweigbh/libgdx,MetSystem/libgdx,collinsmith/libgdx,copystudy/libgdx,tommycli/libgdx,saqsun/libgdx,kotcrab/libgdx,Zomby2D/libgdx,petugez/libgdx,del-sol/libgdx,1yvT0s/libgdx,UnluckyNinja/libgdx,nooone/libgdx,PedroRomanoBarbosa/libgdx,fwolff/libgdx,jberberick/libgdx,TheAks999/libgdx,JDReutt/libgdx,collinsmith/libgdx,TheAks999/libgdx,ThiagoGarciaAlves/libgdx,kotcrab/libgdx,libgdx/libgdx,designcrumble/libgdx,collinsmith/libgdx,collinsmith/libgdx,saltares/libgdx,ya7lelkom/libgdx,js78/libgdx,nave966/libgdx,JFixby/libgdx,saqsun/libgdx,FyiurAmron/libgdx,kzganesan/libgdx,anserran/libgdx,nelsonsilva/libgdx,haedri/libgdx-1,thepullman/libgdx,josephknight/libgdx,titovmaxim/libgdx,jberberick/libgdx,samskivert/libgdx,azakhary/libgdx,MetSystem/libgdx,anserran/libgdx,sjosegarcia/libgdx,JDReutt/libgdx,gdos/libgdx,jsjolund/libgdx,shiweihappy/libgdx,josephknight/libgdx,collinsmith/libgdx,billgame/libgdx,alex-dorokhov/libgdx,xpenatan/libgdx-LWJGL3,del-sol/libgdx,basherone/libgdxcn,luischavez/libgdx,del-sol/libgdx,Arcnor/libgdx,Wisienkas/libgdx,Badazdz/libgdx,sarkanyi/libgdx,Zonglin-Li6565/libgdx,MetSystem/libgdx,ninoalma/libgdx,Zomby2D/libgdx,gdos/libgdx,yangweigbh/libgdx,alireza-hosseini/libgdx,gf11speed/libgdx,noelsison2/libgdx,bgroenks96/libgdx,youprofit/libgdx,stickyd/libgdx,ztv/libgdx,petugez/libgdx,copystudy/libgdx,kotcrab/libgdx,xranby/libgdx,bladecoder/libgdx,alex-dorokhov/libgdx,fwolff/libgdx,Dzamir/libgdx,antag99/libgdx,saltares/libgdx,petugez/libgdx,bgroenks96/libgdx,toloudis/libgdx,stickyd/libgdx,MetSystem/libgdx,Thotep/libgdx,firefly2442/libgdx,Heart2009/libgdx,NathanSweet/libgdx,stinsonga/libgdx,ryoenji/libgdx,nooone/libgdx,TheAks999/libgdx,nave966/libgdx,MikkelTAndersen/libgdx,toa5/libgdx,gdos/libgdx,davebaol/libgdx,1yvT0s/libgdx,FredGithub/libgdx,libgdx/libgdx,309746069/libgdx,Xhanim/libgdx,copystudy/libgdx,designcrumble/libgdx,ryoenji/libgdx,JDReutt/libgdx,gf11speed/libgdx,MikkelTAndersen/libgdx,ttencate/libgdx,titovmaxim/libgdx,nave966/libgdx,azakhary/libgdx,codepoke/libgdx,luischavez/libgdx,djom20/libgdx,flaiker/libgdx,bgroenks96/libgdx,sinistersnare/libgdx,Xhanim/libgdx,bsmr-java/libgdx,UnluckyNinja/libgdx,firefly2442/libgdx,1yvT0s/libgdx,Deftwun/libgdx,MadcowD/libgdx,stickyd/libgdx,NathanSweet/libgdx,GreenLightning/libgdx,gouessej/libgdx,309746069/libgdx,ricardorigodon/libgdx,nave966/libgdx,noelsison2/libgdx,JDReutt/libgdx,petugez/libgdx,FyiurAmron/libgdx,sarkanyi/libgdx,luischavez/libgdx,sjosegarcia/libgdx,jsjolund/libgdx,ztv/libgdx,xranby/libgdx,tommyettinger/libgdx,cypherdare/libgdx,samskivert/libgdx,KrisLee/libgdx,jberberick/libgdx,Gliby/libgdx,Gliby/libgdx,luischavez/libgdx,hyvas/libgdx,tommycli/libgdx,andyvand/libgdx,Xhanim/libgdx,srwonka/libGdx,katiepino/libgdx,firefly2442/libgdx,fwolff/libgdx,jsjolund/libgdx,ttencate/libgdx,tell10glu/libgdx,anserran/libgdx,noelsison2/libgdx,czyzby/libgdx,1yvT0s/libgdx,alex-dorokhov/libgdx,xpenatan/libgdx-LWJGL3,MovingBlocks/libgdx,titovmaxim/libgdx,nelsonsilva/libgdx,alex-dorokhov/libgdx,UnluckyNinja/libgdx,gdos/libgdx,saltares/libgdx,Gliby/libgdx,JDReutt/libgdx,andyvand/libgdx,thepullman/libgdx,UnluckyNinja/libgdx,kotcrab/libgdx,Dzamir/libgdx,jsjolund/libgdx,toa5/libgdx,zhimaijoy/libgdx,ricardorigodon/libgdx,GreenLightning/libgdx,saqsun/libgdx,thepullman/libgdx,codepoke/libgdx,yangweigbh/libgdx,djom20/libgdx,FredGithub/libgdx,Thotep/libgdx,saltares/libgdx,BlueRiverInteractive/libgdx,Deftwun/libgdx,flaiker/libgdx,ricardorigodon/libgdx,snovak/libgdx,gouessej/libgdx,basherone/libgdxcn,lordjone/libgdx,gouessej/libgdx,billgame/libgdx,nudelchef/libgdx,realitix/libgdx,tommyettinger/libgdx,toa5/libgdx,shiweihappy/libgdx,czyzby/libgdx,bsmr-java/libgdx,junkdog/libgdx,EsikAntony/libgdx,noelsison2/libgdx,nudelchef/libgdx,xpenatan/libgdx-LWJGL3,toloudis/libgdx,luischavez/libgdx,saqsun/libgdx,czyzby/libgdx,Zonglin-Li6565/libgdx,1yvT0s/libgdx,nooone/libgdx,ninoalma/libgdx,bsmr-java/libgdx,nooone/libgdx,kagehak/libgdx,BlueRiverInteractive/libgdx,nrallakis/libgdx,anserran/libgdx,kagehak/libgdx,haedri/libgdx-1,haedri/libgdx-1,jasonwee/libgdx,sarkanyi/libgdx,TheAks999/libgdx,zommuter/libgdx,ya7lelkom/libgdx,ThiagoGarciaAlves/libgdx,gouessej/libgdx,curtiszimmerman/libgdx,gf11speed/libgdx,codepoke/libgdx,nrallakis/libgdx,lordjone/libgdx,Xhanim/libgdx,katiepino/libgdx,stickyd/libgdx,ryoenji/libgdx,Dzamir/libgdx,PedroRomanoBarbosa/libgdx,kotcrab/libgdx,junkdog/libgdx,ninoalma/libgdx,MovingBlocks/libgdx,czyzby/libgdx,curtiszimmerman/libgdx,zommuter/libgdx,JFixby/libgdx,flaiker/libgdx,EsikAntony/libgdx,saqsun/libgdx,thepullman/libgdx,zhimaijoy/libgdx,yangweigbh/libgdx,xpenatan/libgdx-LWJGL3,tell10glu/libgdx,xranby/libgdx,Wisienkas/libgdx,ttencate/libgdx,nudelchef/libgdx,Arcnor/libgdx,MovingBlocks/libgdx,copystudy/libgdx,nudelchef/libgdx,Zomby2D/libgdx,TheAks999/libgdx,bgroenks96/libgdx,Deftwun/libgdx,cypherdare/libgdx,fwolff/libgdx,snovak/libgdx,xpenatan/libgdx-LWJGL3,youprofit/libgdx,andyvand/libgdx,xranby/libgdx,yangweigbh/libgdx,sarkanyi/libgdx,Zomby2D/libgdx,copystudy/libgdx,antag99/libgdx,billgame/libgdx,bsmr-java/libgdx,snovak/libgdx,jberberick/libgdx,azakhary/libgdx,Senth/libgdx,petugez/libgdx,anserran/libgdx,antag99/libgdx,ztv/libgdx,nudelchef/libgdx,FredGithub/libgdx,gouessej/libgdx,309746069/libgdx,jasonwee/libgdx,ztv/libgdx,designcrumble/libgdx,MadcowD/libgdx,bladecoder/libgdx,mumer92/libgdx,jsjolund/libgdx,andyvand/libgdx,noelsison2/libgdx,ninoalma/libgdx,lordjone/libgdx,tommycli/libgdx,ttencate/libgdx,nooone/libgdx,Deftwun/libgdx,saltares/libgdx,revo09/libgdx,alex-dorokhov/libgdx,Arcnor/libgdx,gdos/libgdx,EsikAntony/libgdx,Dzamir/libgdx,PedroRomanoBarbosa/libgdx,tell10glu/libgdx,del-sol/libgdx,Heart2009/libgdx,sinistersnare/libgdx,FyiurAmron/libgdx,MovingBlocks/libgdx,xpenatan/libgdx-LWJGL3,bgroenks96/libgdx,MadcowD/libgdx,copystudy/libgdx,yangweigbh/libgdx,Zonglin-Li6565/libgdx,snovak/libgdx,Heart2009/libgdx,tell10glu/libgdx,curtiszimmerman/libgdx,Badazdz/libgdx,FredGithub/libgdx,cypherdare/libgdx,FyiurAmron/libgdx,srwonka/libGdx,noelsison2/libgdx,Dzamir/libgdx,djom20/libgdx,stinsonga/libgdx,zommuter/libgdx,gf11speed/libgdx,FyiurAmron/libgdx,billgame/libgdx,toloudis/libgdx,tommyettinger/libgdx,ricardorigodon/libgdx,Deftwun/libgdx,mumer92/libgdx,jasonwee/libgdx,ThiagoGarciaAlves/libgdx,Heart2009/libgdx,1yvT0s/libgdx,del-sol/libgdx,Senth/libgdx,Dzamir/libgdx,ThiagoGarciaAlves/libgdx,Thotep/libgdx,GreenLightning/libgdx,revo09/libgdx,ninoalma/libgdx,ThiagoGarciaAlves/libgdx,EsikAntony/libgdx,mumer92/libgdx,sjosegarcia/libgdx,fiesensee/libgdx,sinistersnare/libgdx,kotcrab/libgdx,youprofit/libgdx,JDReutt/libgdx,UnluckyNinja/libgdx,realitix/libgdx,tell10glu/libgdx,junkdog/libgdx,MetSystem/libgdx,codepoke/libgdx,Gliby/libgdx,antag99/libgdx,gf11speed/libgdx,tommyettinger/libgdx,srwonka/libGdx,xranby/libgdx,nelsonsilva/libgdx,BlueRiverInteractive/libgdx,josephknight/libgdx,GreenLightning/libgdx,Senth/libgdx,ztv/libgdx,czyzby/libgdx