summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormattinger <[email protected]>2007-03-01 21:16:23 +0000
committermattinger <[email protected]>2007-03-01 21:16:23 +0000
commit188286f40f355108795b2be433f64b693d7aac87 (patch)
tree87d11d40bc0347ac448ea4cf8cca4ed2f7b50c5a
parentdeaf03b30c8968fbcb3dfc22abfeef064d3cca12 (diff)
git-svn-id: file:///home/sven/projects/JOGL/temp/ant-contrib/svn/ant-contrib-code/trunk/ant-contrib@81 32d7a393-a5a9-423c-abd3-5d954feb1f2f
-rw-r--r--src/java/net/sf/antcontrib/design/Design.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/net/sf/antcontrib/design/Design.java b/src/java/net/sf/antcontrib/design/Design.java
index a68aebe..c88db1c 100644
--- a/src/java/net/sf/antcontrib/design/Design.java
+++ b/src/java/net/sf/antcontrib/design/Design.java
@@ -227,7 +227,7 @@ public class Design {
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 @@ public class Design {
designErrors.add(new BuildException(msg));
}
}
-} \ No newline at end of file
+}