From d9758c1fa6d71a5f5c5cf19f3aba3dde3ffad877 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 26 Aug 2008 15:00:28 +0000 Subject: [PATCH] tidy --- .../apache/bcel/classfile/JavaClass.java | 21 +++++++------------ 1 file 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 ClassGen 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 M. Dahm */ @@ -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))); } /** -- 2.39.5