Oh, look at that button. Does that convert everything to correct java5 ??

<3 IntelliJ Idea. Don't leave home without it !

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1517354 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/maven/plugin/docck/CheckPluginDocumentationMojo.java b/src/main/java/org/apache/maven/plugin/docck/CheckPluginDocumentationMojo.java
index 509d54f..2304a95 100644
--- a/src/main/java/org/apache/maven/plugin/docck/CheckPluginDocumentationMojo.java
+++ b/src/main/java/org/apache/maven/plugin/docck/CheckPluginDocumentationMojo.java
@@ -150,22 +150,22 @@
 
                 String siteHtml = IOUtil.toString( streamReader );
 
-                if ( siteHtml.indexOf( "href=\"index.html\"" ) < 0 )
+                if (!siteHtml.contains("href=\"index.html\""))
                 {
                     reporter.error( "site.xml is missing the link to: index.html \"Introduction\"." );
                 }
 
-                if ( siteHtml.indexOf( "href=\"usage.html\"" ) < 0 )
+                if (!siteHtml.contains("href=\"usage.html\""))
                 {
                     reporter.error( "site.xml is missing the link to: usage.html \"Usage\"." );
                 }
 
-                if ( siteHtml.indexOf( "href=\"plugin-info.html\"" ) < 0 )
+                if (!siteHtml.contains("href=\"plugin-info.html\""))
                 {
                     reporter.error( "site.xml is missing the link to: plugin-info.html \"Goals\"." );
                 }
 
-                if ( siteHtml.indexOf( "href=\"faq.html\"" ) < 0 )
+                if (!siteHtml.contains("href=\"faq.html\""))
                 {
                     reporter.error( "site.xml is missing the link to: faq.html \"FAQ\"." );
                 }