Commiting more changes to fix RSE issues with PHP projects.
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / ltk / core / RenameLocalVariableDelegate.java
index b61f6a4..3f2571f 100644 (file)
@@ -70,11 +70,11 @@ public class RenameLocalVariableDelegate extends RenameIdentifierDelegate {
                                                .getLength(), result);
                        }
                } catch (CoreException e) {
-                       String msg = "Project: " + project.getLocation().toOSString()
+                       String msg = "Project: " + project.getFullPath().toOSString()
                                        + " CoreException " + e.getMessage();
                        result.addError(msg);
                } catch (Exception e) {
-                       String msg = "Project: " + project.getLocation().toOSString()
+                       String msg = "Project: " + project.getFullPath().toOSString()
                                        + " Exception " + e.getMessage();
                        result.addError(msg);
                }
@@ -134,11 +134,11 @@ public class RenameLocalVariableDelegate extends RenameIdentifierDelegate {
                                }
 
                        } catch (InvalidInputException e) {
-                               String msg = "File: " + file.getLocation().toOSString()
+                               String msg = "File: " + file.getFullPath().toOSString()
                                                + " InvalidInputException " + e.getMessage();
                                status.addError(msg);
                        } catch (SyntaxError e) {
-                               String msg = "File: " + file.getLocation().toOSString()
+                               String msg = "File: " + file.getFullPath().toOSString()
                                                + " SyntaxError " + e.getMessage();
                                status.addError(msg);
                        }
@@ -216,17 +216,17 @@ public class RenameLocalVariableDelegate extends RenameIdentifierDelegate {
                                }
 
                        } catch (InvalidInputException e) {
-                               String msg = "File: " + file.getLocation().toOSString()
+                               String msg = "File: " + file.getFullPath().toOSString()
                                                + " InvalidInputException " + e.getMessage();
                                status.addError(msg);
                        } catch (SyntaxError e) {
-                               String msg = "File: " + file.getLocation().toOSString()
+                               String msg = "File: " + file.getFullPath().toOSString()
                                                + " SyntaxError " + e.getMessage();
                                status.addError(msg);
                        }
 
                } catch (Exception e) {
-                       String msg = "File: " + file.getLocation().toOSString()
+                       String msg = "File: " + file.getFullPath().toOSString()
                                        + " Exception " + e.getMessage();
                        status.addError(msg);
                }