Issue #710 Information about deobfuscation settings in the error comment

This commit is contained in:
Jindra Petřík
2014-11-05 19:04:49 +01:00
parent 881e32e349
commit 7027ed6da7
6 changed files with 19 additions and 2 deletions
@@ -93,7 +93,7 @@ import java.util.logging.Logger;
* Represents one ACTIONRECORD, also has some static method to work with Actions
*/
public class Action implements GraphSourceItem {
private boolean ignored = false;
/**
* Action type identifier
@@ -880,6 +880,7 @@ public class Action implements GraphSourceItem {
"",
" * " + AppResources.translate("decompilationError"),
" * " + AppResources.translate("decompilationError.obfuscated"),
Helper.decompilationErrorAdd==null?null:" * "+Helper.decompilationErrorAdd,
" * " + AppResources.translate("decompilationError.errorType") + ": "
+ ex2.getClass().getSimpleName(),
""}));
@@ -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.model;
import com.jpexs.decompiler.flash.helpers.GraphTextWriter;
@@ -41,6 +42,9 @@ public class CommentItem extends GraphTargetItem {
public GraphTextWriter appendTo(GraphTextWriter writer, LocalData localData) {
writer.append("/* ");
for (int i = 0; i < commentLines.length; i++) {
if(commentLines[i]==null){
continue;
}
writer.append(commentLines[i]);
if (i != commentLines.length - 1) {
writer.newLine();