mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-27 07:30:49 +00:00
Added Checkstyle to build process and fixing checkstyle to all com.src.jpexs classes
This commit is contained in:
@@ -44,7 +44,7 @@ public abstract class AS3ClassTreeItem implements TreeItem {
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
public String getPrintableNameWithNamespaceSuffix() {
|
||||
String ret = IdentifiersDeobfuscation.printIdentifier(true, name);
|
||||
if (namespaceSuffix != null) {
|
||||
|
||||
@@ -62,7 +62,7 @@ public class FolderItem implements TreeItem {
|
||||
}
|
||||
|
||||
for (TreeItem ti : subItems) {
|
||||
if ((ti instanceof Tag) && (((Tag)ti).isReadOnly())) {
|
||||
if ((ti instanceof Tag) && (((Tag) ti).isReadOnly())) {
|
||||
continue;
|
||||
}
|
||||
if (ti.isModified()) {
|
||||
|
||||
@@ -24,25 +24,26 @@ import java.io.OutputStream;
|
||||
* @author JPEXS
|
||||
*/
|
||||
public interface Openable extends TreeItem {
|
||||
|
||||
public String getFileTitle();
|
||||
|
||||
|
||||
public String getShortPathTitle();
|
||||
|
||||
|
||||
public String getShortFileName();
|
||||
|
||||
|
||||
public String getFile();
|
||||
|
||||
|
||||
public String getTitleOrShortFileName();
|
||||
|
||||
|
||||
public String getFullPathTitle();
|
||||
|
||||
|
||||
public void setOpenableList(OpenableList openableList);
|
||||
|
||||
|
||||
public OpenableList getOpenableList();
|
||||
|
||||
|
||||
public void saveTo(OutputStream os) throws IOException;
|
||||
|
||||
|
||||
public void setFile(String file);
|
||||
|
||||
|
||||
public void clearModified();
|
||||
}
|
||||
|
||||
@@ -85,27 +85,12 @@ public class OpenableList implements List<Openable>, SWFContainerItem {
|
||||
@Override
|
||||
public <T> T[] toArray(T[] ts) {
|
||||
return items.toArray(ts);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean add(Openable e) {
|
||||
return items.add(e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean remove(Object o) {
|
||||
return items.remove(o);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean containsAll(Collection<?> clctn) {
|
||||
return items.containsAll(clctn);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addAll(Collection<? extends Openable> clctn) {
|
||||
return items.addAll(clctn);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean removeAll(Collection<?> clctn) {
|
||||
@@ -122,6 +107,11 @@ public class OpenableList implements List<Openable>, SWFContainerItem {
|
||||
items.clear();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addAll(Collection<? extends Openable> clctn) {
|
||||
return items.addAll(clctn);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addAll(int i, Collection<? extends Openable> clctn) {
|
||||
return items.addAll(i, clctn);
|
||||
@@ -140,11 +130,21 @@ public class OpenableList implements List<Openable>, SWFContainerItem {
|
||||
return items.set(i, e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean add(Openable e) {
|
||||
return items.add(e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void add(int i, Openable e) {
|
||||
items.add(i, e);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean remove(Object o) {
|
||||
return items.remove(o);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Openable remove(int i) {
|
||||
return items.remove(i);
|
||||
|
||||
Reference in New Issue
Block a user