A massive organize imports and formatting of the sources using default Eclipse code...
[phpeclipse.git] / net.sourceforge.phpeclipse.xml.ui / src / net / sourceforge / phpeclipse / xml / ui / internal / text / NameDetector.java
index e241e00..e86f491 100644 (file)
@@ -8,7 +8,7 @@
  * Contributors:
  *     Igor Malinin - initial contribution
  *
- * $Id: NameDetector.java,v 1.1 2004-09-02 18:28:03 jsurfer Exp $
+ * $Id: NameDetector.java,v 1.2 2006-10-21 23:14:13 pombredanne Exp $
  */
 
 package net.sourceforge.phpeclipse.xml.ui.internal.text;
@@ -30,11 +30,11 @@ public class NameDetector implements IWordDetector {
                        return true;
                }
                switch (ch) {
-                       case '.':
-                       case '-':
-                       case '_':
-                       case ':':
-                               return true;
+               case '.':
+               case '-':
+               case '_':
+               case ':':
+                       return true;
                }
                return false;
        }
@@ -47,9 +47,9 @@ public class NameDetector implements IWordDetector {
                        return true;
                }
                switch (ch) {
-                       case '_':
-                       case ':':
-                               return true;
+               case '_':
+               case ':':
+                       return true;
                }
                return false;
        }