mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-29 10:24:38 +00:00
Issue #288: less memory usage during FLA export, using stringbuilders
This commit is contained in:
@@ -12,7 +12,8 @@
|
||||
* Lesser General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.graph;
|
||||
|
||||
import java.util.Collections;
|
||||
@@ -34,19 +35,19 @@ public class GraphPartMulti extends GraphPart {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
public String toString() {
|
||||
String ret = "";
|
||||
StringBuilder ret = new StringBuilder();
|
||||
ret.append("[multi ");
|
||||
boolean first = true;
|
||||
for (GraphPart g : parts) {
|
||||
if (first) {
|
||||
first = false;
|
||||
} else {
|
||||
} else {
|
||||
ret.append(", ");
|
||||
}
|
||||
}
|
||||
ret.append(g.toString());
|
||||
}
|
||||
}
|
||||
ret += "]";
|
||||
ret.append("]");
|
||||
return ret.toString();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user