fixed: java.lang.IllegalArgumentException: Attempted to beginRule...
authorkhartlage <khartlage>
Wed, 16 Jun 2004 18:04:01 +0000 (18:04 +0000)
committerkhartlage <khartlage>
Wed, 16 Jun 2004 18:04:01 +0000 (18:04 +0000)
net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/core/JavaModelManager.java

index 7a62757..c99dfcc 100644 (file)
@@ -456,7 +456,8 @@ public class JavaModelManager implements ISaveParticipant {
                                                pkgPath = pkgPath.removeLastSegments(1);
                                                
                                                // don't check validity of package name (see http://bugs.eclipse.org/bugs/show_bug.cgi?id=26706)
-                                               String pkgName = pkgPath.toString().replace('/', '.');
+//                                             String pkgName = pkgPath.toString().replace('/', '.');
+                                               String pkgName = pkgPath.toString();
                                                return root.getPackageFragment(pkgName);
                                        } else {
                                                String pkgName = Util.packageName(pkgPath);