diff options
author | mattinger <[email protected]> | 2007-03-01 21:16:23 +0000 |
---|---|---|
committer | mattinger <[email protected]> | 2007-03-01 21:16:23 +0000 |
commit | 188286f40f355108795b2be433f64b693d7aac87 (patch) | |
tree | 87d11d40bc0347ac448ea4cf8cca4ed2f7b50c5a /src/java/net | |
parent | deaf03b30c8968fbcb3dfc22abfeef064d3cca12 (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
Diffstat (limited to 'src/java/net')
-rw-r--r-- | src/java/net/sf/antcontrib/design/Design.java | 4 |
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 +}
|