SF.net SVN: ant-contrib: [81] trunk/ant-contrib/src/java/net/sf/antcontrib/ design/Design.java

[email protected]
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Revision: 81
          http://svn.sourceforge.net/ant-contrib/?rev=81&view=rev
Author:   mattinger
Date:     2007-03-01 13:16:23 -0800 (Thu, 01 Mar 2007)

Log Message:
-----------


Modified Paths:
--------------
    trunk/ant-contrib/src/java/net/sf/antcontrib/design/Design.java

Modified: trunk/ant-contrib/src/java/net/sf/antcontrib/design/Design.java
===================================================================
--- trunk/ant-contrib/src/java/net/sf/antcontrib/design/Design.java	2007-02-16 16:57:47 UTC (rev 80)
+++ trunk/ant-contrib/src/java/net/sf/antcontrib/design/Design.java	2007-03-01 21:16:23 UTC (rev 81)
@@ -227,7 +227,7 @@
         log.log("   class="+className, Project.MSG_VERBOSE);
 
         if(packageName.equals(Package.DEFAULT)) {
-            if(className.contains(".")) {
+            if(className.indexOf('.') != -1) {
                 throw new RuntimeException("Internal Error");
             }
         } else if(!className.startsWith(currentPackageName))
@@ -327,4 +327,4 @@
             designErrors.add(new BuildException(msg));
         }
     }
-}
\ No newline at end of file
+}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.