Author: carlos Date: Thu Jan 19 18:11:11 2006 New Revision: 370695 URL: http://svn.apache.org/viewcvs?rev=370695&view=rev Log: Reformatted
Modified: maven/plugins/branches/maven-assembly-plugin-2.0.x/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java Modified: maven/plugins/branches/maven-assembly-plugin-2.0.x/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java URL: http://svn.apache.org/viewcvs/maven/plugins/branches/maven-assembly-plugin-2.0.x/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java?rev=370695&r1=370694&r2=370695&view=diff ============================================================================== --- maven/plugins/branches/maven-assembly-plugin-2.0.x/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java (original) +++ maven/plugins/branches/maven-assembly-plugin-2.0.x/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java Thu Jan 19 18:11:11 2006 @@ -325,24 +325,24 @@ } private Assembly getAssembly( File file ) - throws MojoFailureException, MojoExecutionException -{ - Reader r; - try + throws MojoFailureException, MojoExecutionException { - r = new FileReader( file ); - } - catch ( FileNotFoundException e ) - { - throw new MojoFailureException( "Unable to find descriptor: " + e.getMessage() ); - } + Reader r; + try + { + r = new FileReader( file ); + } + catch ( FileNotFoundException e ) + { + throw new MojoFailureException( "Unable to find descriptor: " + e.getMessage() ); + } - return getAssembly( r ); -} + return getAssembly( r ); + } -private Assembly getAssembly( Reader reader ) - throws MojoExecutionException -{ + private Assembly getAssembly( Reader reader ) + throws MojoExecutionException + { Assembly assembly; try {