Source:
private ClassBreaksRenderer createPopulationClassBreaksRenderer() { final int gray = Color.rgb(153, 153, 153); final int blue1 = Color.rgb(226, 234, 206); final int blue2 = Color.rgb(150, 193, 191); final int blue3 = Color.rgb(96 , 165, 181); final int blue4 = Color.rgb(68 , 124, 150); final int blue5 = Color.rgb(40 , 84 , 119); SimpleLineSymbol outline = new SimpleLineSymbol(SimpleLineSymbol.Style.SOLID, gray, 1); SimpleFillSymbol classSymbol1 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue1, outline); SimpleFillSymbol classSymbol2 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue2, outline); SimpleFillSymbol classSymbol3 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue3, outline); SimpleFillSymbol classSymbol4 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue4, outline); SimpleFillSymbol classSymbol5 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue5, outline); ClassBreak classBreak1 = new ClassBreak("-99 to 8560", "-99 to 8560", -99, 8560, classSymbol1); ClassBreak classBreak2 = new ClassBreak("> 8,560 to 18,109", "> 8,560 to 18,109", 8560, 18109, classSymbol2); ClassBreak classBreak3 = new ClassBreak("> 18,109 to 35,501", "> 18,109 to 35,501", 18109, 35501, classSymbol3); ClassBreak classBreak4 = new ClassBreak("> 35,501 to 86,100", "> 35,501 to 86,100", 35501, 86100, classSymbol4); ClassBreak classBreak5 = new ClassBreak("> 86,100 to 10,110,975", "> 86,100 to 10,110,975", 86100, 10110975, classSymbol5); return new ClassBreaksRenderer("POP2007", Arrays.asList(classBreak1, classBreak2, classBreak3, classBreak4, classBreak5)); }

Target:
private static ClassBreaksRenderer createPopulationClassBreaksRenderer() { final int gray = Color.rgb(153, 153, 153); final int blue1 = Color.rgb(226, 234, 206); final int blue2 = Color.rgb(150, 193, 191); final int blue3 = Color.rgb(96 , 165, 181); final int blue4 = Color.rgb(68 , 124, 150); final int blue5 = Color.rgb(40 , 84 , 119); SimpleLineSymbol outline = new SimpleLineSymbol(SimpleLineSymbol.Style.SOLID, gray, 1); SimpleFillSymbol classSymbol1 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue1, outline); SimpleFillSymbol classSymbol2 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue2, outline); SimpleFillSymbol classSymbol3 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue3, outline); SimpleFillSymbol classSymbol4 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue4, outline); SimpleFillSymbol classSymbol5 = new SimpleFillSymbol(SimpleFillSymbol.Style.SOLID, blue5, outline); ClassBreak classBreak1 = new ClassBreak("-99 to 8560", "-99 to 8560", -99, 8560, classSymbol1); ClassBreak classBreak2 = new ClassBreak("> 8,560 to 18,109", "> 8,560 to 18,109", 8560, 18109, classSymbol2); ClassBreak classBreak3 = new ClassBreak("> 18,109 to 35,501", "> 18,109 to 35,501", 18109, 35501, classSymbol3); ClassBreak classBreak4 = new ClassBreak("> 35,501 to 86,100", "> 35,501 to 86,100", 35501, 86100, classSymbol4); ClassBreak classBreak5 = new ClassBreak("> 86,100 to 10,110,975", "> 86,100 to 10,110,975", 86100, 10110975, classSymbol5); return new ClassBreaksRenderer("POP2007", Arrays.asList(classBreak1, classBreak2, classBreak3, classBreak4, classBreak5)); }