Package: uncrustify
Version: 0.57-1
Severity: normal

The code "beatifier" results do look promising:

    // Original

    public class Test
    {
        public static void main (String[] args)
        {
    boolean result = false;

            if ( result == false  ||  result == true ) {
                System.out.println("ok");
                }
        }
    }

    // End of file

Results:

   // uncrustify -c /usr/share/uncrustify/defaults.cfg  <file>


    {
    public static void main (String[] args)
    {
            boolean result = false;

            if ( result == false  ||  result == true ) {
                    System.out.println("ok");
            }
    }
    }

    // End of file

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages uncrustify depends on:
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.5.2-4  GCC support library
ii  libstdc++6                    4.5.2-4    The GNU Standard C++ Library v3

uncrustify recommends no packages.

uncrustify suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to