~ubuntu-branches/ubuntu/maverick/proguard/maverick

« back to all changes in this revision

Viewing changes to src/proguard/gui/ReTraceRunnable.java

  • Committer: Bazaar Package Importer
  • Author(s): Sam Clegg
  • Date: 2005-11-13 09:42:59 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051113094259-432zf4yyw4890mmn
Tags: 3.4-1
* New upstream release (Closes: #338355)
* debian/control: bump standards version
* debian/copyright: update FSF address
* increase java stack size for proguard and proguardgui

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: ReTraceRunnable.java,v 1.6 2004/08/21 21:36:03 eric Exp $
 
1
/* $Id: ReTraceRunnable.java,v 1.8 2005/06/11 13:13:15 eric Exp $
2
2
 *
3
3
 * ProGuard -- shrinking, optimization, and obfuscation of Java class files.
4
4
 *
5
 
 * Copyright (c) 2002-2004 Eric Lafortune (eric@graphics.cornell.edu)
 
5
 * Copyright (c) 2002-2005 Eric Lafortune (eric@graphics.cornell.edu)
6
6
 *
7
7
 * This program is free software; you can redistribute it and/or modify it
8
8
 * under the terms of the GNU General Public License as published by the Free
39
39
{
40
40
    private JTextArea consoleTextArea;
41
41
    private boolean   verbose;
42
 
    private String    retraceMappingFile;
 
42
    private File      mappingFile;
43
43
    private String    stackTrace;
44
44
 
45
45
 
48
48
     * @param consoleTextArea the text area to send the console output to.
49
49
     * @param verbose         specifies whether the de-obfuscated stack trace
50
50
     *                        should be verbose.
51
 
     * @param mappingFileName the mapping file that was written out by ProGuard.
 
51
     * @param mappingFile     the mapping file that was written out by ProGuard.
52
52
     */
53
53
    public ReTraceRunnable(JTextArea consoleTextArea,
54
54
                           boolean   verbose,
55
 
                           String    retraceMappingFile,
 
55
                           File      mappingFile,
56
56
                           String    stackTrace)
57
57
    {
58
 
        this.consoleTextArea    = consoleTextArea;
59
 
        this.verbose            = verbose;
60
 
        this.retraceMappingFile = retraceMappingFile;
61
 
        this.stackTrace         = stackTrace;
 
58
        this.consoleTextArea  = consoleTextArea;
 
59
        this.verbose          = verbose;
 
60
        this.mappingFile      = mappingFile;
 
61
        this.stackTrace       = stackTrace;
62
62
    }
63
63
 
64
64
 
89
89
        {
90
90
            // Create a new ProGuard object with the GUI's configuration.
91
91
            ReTrace reTrace = new ReTrace(verbose,
92
 
                                          retraceMappingFile);
 
92
                                          mappingFile);
93
93
 
94
94
            // Run it.
95
95
            reTrace.execute();