Refactory: remove unused classes, imports, fields and methods.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / corext / phpdoc / PHPDocUtil.java
index 426a5e9..7043892 100644 (file)
@@ -55,19 +55,19 @@ public class PHPDocUtil {
                }
        }
 
-       static String getEncoding(String filename) {
-               String encoding = null;
-               IFile file = PHPeclipsePlugin.getWorkspace().getRoot()
-                               .getFileForLocation(new Path(filename));
-               if (file != null) {
-                       try {
-                               encoding = file.getCharset();
-                       } catch (CoreException e) {
-                               // TODO: should log the fact that we could not get the encoding?
-                       }
-               }
-               return encoding;
-       }
+//     static String getEncoding(String filename) {
+//             String encoding = null;
+//             IFile file = PHPeclipsePlugin.getWorkspace().getRoot()
+//                             .getFileForLocation(new Path(filename));
+//             if (file != null) {
+//                     try {
+//                             encoding = file.getCharset();
+//                     } catch (CoreException e) {
+//                             // TODO: should log the fact that we could not get the encoding?
+//                     }
+//             }
+//             return encoding;
+//     }
 
        public static String getUsage(String filename,
                        PHPIdentifierLocation location) {