Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry BLIND2019-01-03 08:28:07 -0500
committerThierry BLIND2019-01-03 08:28:07 -0500
commitc2222a28fbbb3922482db953660028f7ed0385e8 (patch)
tree010a94835430dc9f860dbf071b0fbb7afd665e06
parent447859a0053105e21fde56b1266c19b377503bf3 (diff)
downloadorg.eclipse.pdt-c2222a28fbbb3922482db953660028f7ed0385e8.tar.gz
org.eclipse.pdt-c2222a28fbbb3922482db953660028f7ed0385e8.tar.xz
org.eclipse.pdt-c2222a28fbbb3922482db953660028f7ed0385e8.zip
No bug - fix method name typo
Signed-off-by: Thierry BLIND <thierryblind@msn.com>
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPClassWizard.java2
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPInterfaceWizard.java2
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTraitWizard.java2
-rw-r--r--plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTypePage.java8
4 files changed, 7 insertions, 7 deletions
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPClassWizard.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPClassWizard.java
index 8f9e09208..1c3ce1d02 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPClassWizard.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPClassWizard.java
@@ -57,7 +57,7 @@ public class NewPHPClassWizard extends NewPHPTypeWizard implements INewWizard {
public boolean performFinish() {
if (page.isInExistingPHPFile()) {
// add the existing file's name to the already existings requires !
- existingPHPFile = DLTKCore.createSourceModuleFrom(page.getExisitngFile());
+ existingPHPFile = DLTKCore.createSourceModuleFrom(page.getExistingFile());
}
// populate data members from the UI's values using the Post Finish
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPInterfaceWizard.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPInterfaceWizard.java
index e6a65702f..d4ba4cc07 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPInterfaceWizard.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPInterfaceWizard.java
@@ -53,7 +53,7 @@ public class NewPHPInterfaceWizard extends NewPHPTypeWizard implements INewWizar
public boolean performFinish() {
if (page.isInExistingPHPFile()) {
// add the existing file's name to the already existings requires !
- existingPHPFile = DLTKCore.createSourceModuleFrom(page.getExisitngFile());
+ existingPHPFile = DLTKCore.createSourceModuleFrom(page.getExistingFile());
}
// populate data members from the UI's values using the Post Finish
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTraitWizard.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTraitWizard.java
index b02d571a4..0864701df 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTraitWizard.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTraitWizard.java
@@ -53,7 +53,7 @@ public class NewPHPTraitWizard extends NewPHPTypeWizard implements INewWizard {
public boolean performFinish() {
if (page.isInExistingPHPFile()) {
// add the existing file's name to the already existings requires !
- existingPHPFile = DLTKCore.createSourceModuleFrom(page.getExisitngFile());
+ existingPHPFile = DLTKCore.createSourceModuleFrom(page.getExistingFile());
}
// populate data members from the UI's values using the Post Finish
diff --git a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTypePage.java b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTypePage.java
index 2784e19b2..b01115482 100644
--- a/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTypePage.java
+++ b/plugins/org.eclipse.php.ui/src/org/eclipse/php/internal/ui/wizards/types/NewPHPTypePage.java
@@ -457,7 +457,7 @@ public abstract class NewPHPTypePage extends BasicPHPWizardPage implements IDial
String sourceFolder = getSourceText();
if (existingFileBtn.getSelection()) {
- IFile existingFile = getExisitngFile();
+ IFile existingFile = getExistingFile();
if (existingFile != null) {
String defaultNamespace = getLastNamespace();
if (defaultNamespace != null) {
@@ -649,7 +649,7 @@ public abstract class NewPHPTypePage extends BasicPHPWizardPage implements IDial
* carefully since it can contain a non EMPTY/NULL value even when the user
* request to create the PHP element in a NEW PHP file.
*/
- public IFile getExisitngFile() {
+ public IFile getExistingFile() {
String sourceText = getSourceText();
String existingFileName = getExistingFileName();
if (existingFileName == null || existingFileName.isEmpty()) {
@@ -961,7 +961,7 @@ public abstract class NewPHPTypePage extends BasicPHPWizardPage implements IDial
}
protected boolean isNamespaceEnabled() {
- ISourceModule existingPHPFile = DLTKCore.createSourceModuleFrom(getExisitngFile());
+ ISourceModule existingPHPFile = DLTKCore.createSourceModuleFrom(getExistingFile());
if (existingPHPFile != null && existingPHPFile.exists()) {
try {
IModelElement[] rootElements = existingPHPFile.getChildren();
@@ -980,7 +980,7 @@ public abstract class NewPHPTypePage extends BasicPHPWizardPage implements IDial
}
protected String getLastNamespace() {
- ISourceModule existingPHPFile = DLTKCore.createSourceModuleFrom(getExisitngFile());
+ ISourceModule existingPHPFile = DLTKCore.createSourceModuleFrom(getExistingFile());
if (existingPHPFile != null && existingPHPFile.exists()) {
try {
IModelElement[] rootElements = existingPHPFile.getChildren();

Back to the top