mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-04 14:04:26 +00:00
checkstyle fix
This commit is contained in:
@@ -89,7 +89,7 @@ public class BinaryDataExporter {
|
||||
File classFile = new File(outdir + File.separator + Helper.makeFileName(className + ext));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
ret.add(classFile);
|
||||
}
|
||||
file.delete();
|
||||
|
||||
@@ -94,7 +94,7 @@ public class Font4Exporter {
|
||||
File classFile = new File(outdir + File.separator + Helper.makeFileName(className + ext));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
ret.add(classFile);
|
||||
}
|
||||
file.delete();
|
||||
|
||||
@@ -109,7 +109,7 @@ public class FontExporter {
|
||||
File classFile = new File(outdir + File.separator + Helper.makeFileName(className + ext));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
ret.add(classFile);
|
||||
}
|
||||
file.delete();
|
||||
|
||||
@@ -184,7 +184,7 @@ public class FrameExporter {
|
||||
boolean usesTransparency,
|
||||
Color backgroundColor,
|
||||
FrameExportSettings settings
|
||||
) {
|
||||
) {
|
||||
this.tim = tim;
|
||||
this.fframes = fframes;
|
||||
this.evl = evl;
|
||||
|
||||
@@ -156,7 +156,7 @@ public class ImageExporter {
|
||||
File classAlphaPngFile = new File(outdir + File.separator + Helper.makeFileName(className + ".alpha.png"));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
if (alphaPngFile.exists()) {
|
||||
Files.copy(alphaPngFile.toPath(), classAlphaPngFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
}
|
||||
|
||||
@@ -231,19 +231,19 @@ public class MorphShapeExporter {
|
||||
File classFileEnd = new File(outdir + File.separator + Helper.makeFileName(className + ".end" + settings.getFileExtension()));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
ret.add(classFile);
|
||||
|
||||
if (fileStart.exists()) {
|
||||
new RetryTask(() -> {
|
||||
Files.copy(fileStart.toPath(), classFileStart.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
}
|
||||
|
||||
if (fileEnd.exists()) {
|
||||
new RetryTask(() -> {
|
||||
Files.copy(fileEnd.toPath(), classFileEnd.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
}
|
||||
}
|
||||
file.delete();
|
||||
|
||||
@@ -100,7 +100,7 @@ public class MovieExporter {
|
||||
File classFile = new File(outdir + File.separator + Helper.makeFileName(className + ".flv"));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
ret.add(classFile);
|
||||
}
|
||||
file.delete();
|
||||
|
||||
@@ -171,7 +171,7 @@ public class ShapeExporter {
|
||||
File classFile = new File(outdir + File.separator + Helper.makeFileName(className + settings.getFileExtension()));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
ret.add(classFile);
|
||||
}
|
||||
file.delete();
|
||||
|
||||
@@ -117,13 +117,13 @@ public class SoundExporter {
|
||||
}
|
||||
}, handler).run();
|
||||
|
||||
Set<String> classNames = (st instanceof CharacterTag) ? ((CharacterTag)st).getClassNames() : new HashSet<>();
|
||||
Set<String> classNames = (st instanceof CharacterTag) ? ((CharacterTag) st).getClassNames() : new HashSet<>();
|
||||
if (Configuration.as3ExportNamesUseClassNamesOnly.get() && !classNames.isEmpty()) {
|
||||
for (String className : classNames) {
|
||||
File classFile = new File(outdir + File.separator + Helper.makeFileName(className + ext));
|
||||
new RetryTask(() -> {
|
||||
Files.copy(file.toPath(), classFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
|
||||
},handler).run();
|
||||
}, handler).run();
|
||||
ret.add(classFile);
|
||||
}
|
||||
file.delete();
|
||||
|
||||
Reference in New Issue
Block a user