mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 19:50:54 +00:00
#844 lowercase/uppercase convertion in DefineTexts
This commit is contained in:
@@ -116,18 +116,16 @@ public class AS2Package implements TreeItem {
|
||||
|
||||
@Override
|
||||
public boolean isModified() {
|
||||
for(ASMSource s:scripts.values()){
|
||||
if(s.isModified()){
|
||||
for (ASMSource s : scripts.values()) {
|
||||
if (s.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
for(AS2Package p:subPackages.values()){
|
||||
if(p.isModified()){
|
||||
for (AS2Package p : subPackages.values()) {
|
||||
if (p.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -150,20 +150,18 @@ public class AS3Package extends AS3ClassTreeItem {
|
||||
|
||||
@Override
|
||||
public boolean isModified() {
|
||||
List<ScriptPack> sps=getScriptPacks();
|
||||
for(ScriptPack sp:sps){
|
||||
if(sp.isModified()){
|
||||
List<ScriptPack> sps = getScriptPacks();
|
||||
for (ScriptPack sp : sps) {
|
||||
if (sp.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
List<AS3Package> ps=getSubPackages();
|
||||
for(AS3Package p:ps){
|
||||
if(p.isModified()){
|
||||
List<AS3Package> ps = getSubPackages();
|
||||
for (AS3Package p : ps) {
|
||||
if (p.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -90,26 +90,24 @@ public class Frame implements TreeItem, Exportable {
|
||||
|
||||
@Override
|
||||
public boolean isModified() {
|
||||
for(Tag t:innerTags){
|
||||
if(t.isModified()){
|
||||
for (Tag t : innerTags) {
|
||||
if (t.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
for(Tag t:actions){
|
||||
if(t.isModified()){
|
||||
for (Tag t : actions) {
|
||||
if (t.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
for(ASMSourceContainer t:actionContainers){
|
||||
if(t.isModified()){
|
||||
for (ASMSourceContainer t : actionContainers) {
|
||||
if (t.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if(showFrameTag!=null && showFrameTag.isModified()){
|
||||
if (showFrameTag != null && showFrameTag.isModified()) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -58,6 +58,4 @@ public class FrameScript implements TreeItem, Exportable {
|
||||
public boolean isModified() {
|
||||
return frame.isModified();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -79,13 +79,11 @@ public class TagScript implements TreeItem, Exportable {
|
||||
|
||||
@Override
|
||||
public boolean isModified() {
|
||||
for(TreeItem f:frames){
|
||||
if(f.isModified()){
|
||||
for (TreeItem f : frames) {
|
||||
if (f.isModified()) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return tag.isModified();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user