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

« back to all changes in this revision

Viewing changes to src/proguard/DuplicateClassPrinter.java

  • Committer: Bazaar Package Importer
  • Author(s): Sam Clegg, Onkar Shinde, Sam Clegg
  • Date: 2009-10-09 16:17:49 UTC
  • mfrom: (1.2.3 upstream) (3.1.6 karmic)
  • Revision ID: james.westby@ubuntu.com-20091009161749-qjk059y5r792co7c
Tags: 4.4-1
[ Onkar Shinde ]
* Merge from Ubuntu. (Closes: #534029, #548810)

[ Sam Clegg ]
* Thanks Onkar for the above fixes!
* New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * ProGuard -- shrinking, optimization, obfuscation, and preverification
3
3
 *             of Java bytecode.
4
4
 *
5
 
 * Copyright (c) 2002-2008 Eric Lafortune (eric@graphics.cornell.edu)
 
5
 * Copyright (c) 2002-2009 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
48
48
 
49
49
    public void visitProgramClass(ProgramClass programClass)
50
50
    {
51
 
        notePrinter.print("Note: duplicate definition of program class [" +
 
51
        notePrinter.print(programClass.getName(),
 
52
                          "Note: duplicate definition of program class [" +
52
53
                          ClassUtil.externalClassName(programClass.getName()) + "]");
53
54
    }
54
55
 
55
56
 
56
57
    public void visitLibraryClass(LibraryClass libraryClass)
57
58
    {
58
 
        notePrinter.print("Note: duplicate definition of library class [" +
 
59
        notePrinter.print(libraryClass.getName(),
 
60
                          "Note: duplicate definition of library class [" +
59
61
                          ClassUtil.externalClassName(libraryClass.getName()) + "]");
60
62
    }
61
63
}