You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ca...@apache.org on 2006/01/20 03:11:13 UTC

svn commit: r370695 - /maven/plugins/branches/maven-assembly-plugin-2.0.x/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java

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
         {