diff options
author | aclement <aclement> | 2008-08-26 15:00:28 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-26 15:00:28 +0000 |
commit | d9758c1fa6d71a5f5c5cf19f3aba3dde3ffad877 (patch) | |
tree | e5248dfe71b70bd0504e33eb7e64fbd7c24a2ed7 | |
parent | 61134f98ab6f2a227b2057b2c002908112f18243 (diff) | |
download | aspectj-d9758c1fa6d71a5f5c5cf19f3aba3dde3ffad877.tar.gz aspectj-d9758c1fa6d71a5f5c5cf19f3aba3dde3ffad877.zip |
tidy
-rw-r--r-- | bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java index bf5ad504a..2188ac7a1 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/JavaClass.java @@ -77,7 +77,7 @@ import java.util.StringTokenizer; * class file. Those interested in programatically generating classes * should see the <a href="../generic/ClassGen.html">ClassGen</a> class. - * @version $Id: JavaClass.java,v 1.11 2008/06/23 02:06:22 aclement Exp $ + * @version $Id: JavaClass.java,v 1.12 2008/08/26 15:00:28 aclement Exp $ * @see org.aspectj.apache.bcel.generic.ClassGen * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> */ @@ -240,18 +240,13 @@ public class JavaClass extends Modifiers implements Cloneable, Node { * @param file Output file * @throws IOException */ - public void dump(File file) throws IOException - { - String parent = file.getParent(); - - if(parent != null) { - File dir = new File(parent); - - if(dir != null) - dir.mkdirs(); - } - - dump(new DataOutputStream(new FileOutputStream(file))); + public void dump(File file) throws IOException { + String parent = file.getParent(); + if (parent != null) { + File dir = new File(parent); + dir.mkdirs(); + } + dump(new DataOutputStream(new FileOutputStream(file))); } /** |