File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public class CDL {
5555 private static String getValue (JSONTokener x ) throws JSONException {
5656 char c ;
5757 char q ;
58- StringBuffer sb ;
58+ StringBuilder sb ;
5959 do {
6060 c = x .next ();
6161 } while (c == ' ' || c == '\t' );
@@ -65,7 +65,7 @@ private static String getValue(JSONTokener x) throws JSONException {
6565 case '"' :
6666 case '\'' :
6767 q = c ;
68- sb = new StringBuffer ();
68+ sb = new StringBuilder ();
6969 for (;;) {
7070 c = x .next ();
7171 if (c == q ) {
@@ -275,7 +275,7 @@ public static String toString(JSONArray names, JSONArray ja)
275275 if (names == null || names .length () == 0 ) {
276276 return null ;
277277 }
278- StringBuffer sb = new StringBuffer ();
278+ StringBuilder sb = new StringBuilder ();
279279 for (int i = 0 ; i < ja .length (); i += 1 ) {
280280 JSONObject jo = ja .optJSONObject (i );
281281 if (jo != null ) {
You can’t perform that action at this time.
0 commit comments