diff options
author | Jim Meyering <meyering@redhat.com> | 2009-08-03 11:10:13 -0400 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-08-03 17:17:57 +0200 |
commit | 2f1a50d81671810256dce0852e6b1e0810ac44af (patch) | |
tree | c6058422a2f177f7c55ddaa22e329699a9d21e20 /java/t/GuestFS010Launch.java | |
parent | 72c829395bb6a4800516d4f535e18af48195585b (diff) | |
download | libguestfs-2f1a50d81671810256dce0852e6b1e0810ac44af.tar.gz libguestfs-2f1a50d81671810256dce0852e6b1e0810ac44af.tar.xz libguestfs-2f1a50d81671810256dce0852e6b1e0810ac44af.zip |
Convert all TABs-as-indentation to spaces.
Do it by running this command:
[exempted files are matched via .x-sc_TAB_in_indentation]
git ls-files \
| pcregrep -vf .x-sc_TAB_in_indentation \
| xargs pcregrep -l '^ *\t' \
| xargs perl -MText::Tabs -ni -le \
'$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
Diffstat (limited to 'java/t/GuestFS010Launch.java')
-rw-r--r-- | java/t/GuestFS010Launch.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/java/t/GuestFS010Launch.java b/java/t/GuestFS010Launch.java index 3d145bb3..198ea857 100644 --- a/java/t/GuestFS010Launch.java +++ b/java/t/GuestFS010Launch.java @@ -22,21 +22,21 @@ import com.redhat.et.libguestfs.*; public class GuestFS010Launch { public static void main (String[] argv) { - try { - GuestFS g = new GuestFS (); - RandomAccessFile f = new RandomAccessFile ("test.img", "rw"); - f.setLength (500 * 1024 * 1024); - f.close (); - g.add_drive ("test.img"); - g.launch (); - g.wait_ready (); - g.close (); - File f2 = new File ("test.img"); - f2.delete (); - } - catch (Exception exn) { - System.err.println (exn); - System.exit (1); - } + try { + GuestFS g = new GuestFS (); + RandomAccessFile f = new RandomAccessFile ("test.img", "rw"); + f.setLength (500 * 1024 * 1024); + f.close (); + g.add_drive ("test.img"); + g.launch (); + g.wait_ready (); + g.close (); + File f2 = new File ("test.img"); + f2.delete (); + } + catch (Exception exn) { + System.err.println (exn); + System.exit (1); + } } } |