You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2011/05/01 16:26:12 UTC

svn commit: r1098316 - in /maven/plugins/trunk: maven-site-plugin/src/it/MSITE-265/verify.bsh maven-site-plugin/src/it/site-deploy/verify.bsh maven-site-plugin/src/it/site-inheritance/verify.bsh maven-war-plugin/src/it/MWAR-133/verify.bsh

Author: hboutemy
Date: Sun May  1 14:26:12 2011
New Revision: 1098316

URL: http://svn.apache.org/viewvc?rev=1098316&view=rev
Log:
code formatting

Modified:
    maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh
    maven/plugins/trunk/maven-site-plugin/src/it/site-deploy/verify.bsh
    maven/plugins/trunk/maven-site-plugin/src/it/site-inheritance/verify.bsh
    maven/plugins/trunk/maven-war-plugin/src/it/MWAR-133/verify.bsh

Modified: maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh?rev=1098316&r1=1098315&r2=1098316&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/MSITE-265/verify.bsh Sun May  1 14:26:12 2011
@@ -76,7 +76,7 @@ try
         System.err.println( "download.html doesn't contain 'charset=UTF-8' directive" );
         return false;
     }
-    if ( downloadContent.indexOf( "demo character: &#x20ac; (euro)" ) < 0)
+    if ( downloadContent.indexOf( "demo character: &#x20ac; (euro)" ) < 0 )
     {
         System.err.println( "download.html doesn't contain euro symbol" );
         return false;

Modified: maven/plugins/trunk/maven-site-plugin/src/it/site-deploy/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/site-deploy/verify.bsh?rev=1098316&r1=1098315&r2=1098316&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/site-deploy/verify.bsh (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/site-deploy/verify.bsh Sun May  1 14:26:12 2011
@@ -66,7 +66,7 @@ try
     }
     String downloadContent = FileUtils.fileRead( download, "UTF-8" );
     int indexOf = downloadContent.indexOf( "Download Maven 2.0.7" );
-    if ( indexOf < 0)
+    if ( indexOf < 0 )
     {
         System.err.println( "download.html doesn't contain Download Maven 2.0.7" );
         return false;

Modified: maven/plugins/trunk/maven-site-plugin/src/it/site-inheritance/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-site-plugin/src/it/site-inheritance/verify.bsh?rev=1098316&r1=1098315&r2=1098316&view=diff
==============================================================================
--- maven/plugins/trunk/maven-site-plugin/src/it/site-inheritance/verify.bsh (original)
+++ maven/plugins/trunk/maven-site-plugin/src/it/site-inheritance/verify.bsh Sun May  1 14:26:12 2011
@@ -60,7 +60,7 @@ try
 
     String content = FileUtils.fileRead( index, "UTF-8" );
     int indexOf = content.indexOf( "<a href=\"../index.html\" title=\"Aggregator\">Aggregator</a>" );
-    if ( indexOf < 0)
+    if ( indexOf < 0 )
     {
         System.err.println( "deployed junk index.html is missing module link!" );
         result = false;
@@ -238,7 +238,7 @@ try
 
     content = FileUtils.fileRead( index, "UTF-8" );
     int indexOf = content.indexOf( "<a href=\"../index.html\" title=\"Aggregator\">Aggregator</a>" );
-    if ( indexOf < 0)
+    if ( indexOf < 0 )
     {
         System.err.println( "staged junk index.html is missing module link!" );
         result = false;
@@ -415,7 +415,7 @@ try
 
     content = FileUtils.fileRead( index, "UTF-8" );
     int indexOf = content.indexOf( "<a href=\"../index.html\" title=\"Aggregator\">Aggregator</a>" );
-    if ( indexOf < 0)
+    if ( indexOf < 0 )
     {
         System.err.println( "stage-deployed junk index.html is missing module link!" );
         result = false;

Modified: maven/plugins/trunk/maven-war-plugin/src/it/MWAR-133/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-war-plugin/src/it/MWAR-133/verify.bsh?rev=1098316&r1=1098315&r2=1098316&view=diff
==============================================================================
--- maven/plugins/trunk/maven-war-plugin/src/it/MWAR-133/verify.bsh (original)
+++ maven/plugins/trunk/maven-war-plugin/src/it/MWAR-133/verify.bsh Sun May  1 14:26:12 2011
@@ -50,7 +50,7 @@ try
 
 
     int indexOf = paramContent.indexOf( "app.version=${node.version}" );
-    if ( indexOf < 0)
+    if ( indexOf < 0 )
     {
         System.err.println( "filtered.properties was not filtered with the value of ${node.version}" );
         return false;