mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-05 06:44:56 +08:00
[libgdx] Prefer JDK StringBuilder.
This commit is contained in:
parent
06e085660e
commit
3fa62b2550
@ -32,7 +32,6 @@ package com.esotericsoftware.spine;
|
||||
import java.util.Arrays;
|
||||
|
||||
import com.badlogic.gdx.utils.Array;
|
||||
import com.badlogic.gdx.utils.StringBuilder;
|
||||
|
||||
import com.esotericsoftware.spine.Animation.EventTimeline;
|
||||
import com.esotericsoftware.spine.Animation.MixBlend;
|
||||
@ -79,7 +78,7 @@ public class EventTimelineTests {
|
||||
private void test (float... frames) {
|
||||
int eventCount = frames.length;
|
||||
|
||||
StringBuilder buffer = new StringBuilder();
|
||||
var buffer = new StringBuilder();
|
||||
for (int i = 0; i < eventCount; i++)
|
||||
buffer.append((char)('a' + i));
|
||||
|
||||
|
||||
@ -48,7 +48,6 @@ import com.badlogic.gdx.graphics.glutils.ShapeRenderer;
|
||||
import com.badlogic.gdx.graphics.glutils.ShapeRenderer.ShapeType;
|
||||
import com.badlogic.gdx.utils.Array;
|
||||
import com.badlogic.gdx.utils.Null;
|
||||
import com.badlogic.gdx.utils.StringBuilder;
|
||||
import com.badlogic.gdx.utils.viewport.ScreenViewport;
|
||||
|
||||
import com.esotericsoftware.spine.Animation.MixBlend;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user