Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbvosburgh2012-04-02 17:28:31 -0400
committerbvosburgh2012-04-02 17:28:31 -0400
commit07d7b38b1f10a43231d2c0c2728c44875506b0e7 (patch)
tree86fca72db07423d7e3ebe9b923d2448045c55601
parent3e008a737c56c282f9008886991a8676c325621b (diff)
downloadwebtools.dali-07d7b38b1f10a43231d2c0c2728c44875506b0e7.tar.gz
webtools.dali-07d7b38b1f10a43231d2c0c2728c44875506b0e7.tar.xz
webtools.dali-07d7b38b1f10a43231d2c0c2728c44875506b0e7.zip
minor tweak
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/editors/PersistenceEditor.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/editors/PersistenceEditor.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/editors/PersistenceEditor.java
index 2f660d6682..b84da02f30 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/editors/PersistenceEditor.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/editors/PersistenceEditor.java
@@ -30,8 +30,8 @@ import org.eclipse.jpt.common.utility.internal.model.value.PropertyAspectAdapter
import org.eclipse.jpt.common.utility.internal.model.value.SimplePropertyValueModel;
import org.eclipse.jpt.common.utility.internal.model.value.TransformationPropertyValueModel;
import org.eclipse.jpt.common.utility.model.value.ListValueModel;
-import org.eclipse.jpt.common.utility.model.value.PropertyValueModel;
import org.eclipse.jpt.common.utility.model.value.ModifiablePropertyValueModel;
+import org.eclipse.jpt.common.utility.model.value.PropertyValueModel;
import org.eclipse.jpt.jpa.core.JpaProject;
import org.eclipse.jpt.jpa.core.context.JpaRootContextNode;
import org.eclipse.jpt.jpa.core.context.persistence.Persistence;
@@ -41,7 +41,6 @@ import org.eclipse.jpt.jpa.ui.JpaPlatformUi;
import org.eclipse.jpt.jpa.ui.PersistenceXmlResourceUiDefinition;
import org.eclipse.jpt.jpa.ui.details.JpaPageComposite;
import org.eclipse.jpt.jpa.ui.internal.persistence.JptUiPersistenceMessages;
-import org.eclipse.jpt.jpa.ui.internal.platform.JpaPlatformUiRegistry;
import org.eclipse.swt.custom.BusyIndicator;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.IEditorInput;
@@ -228,8 +227,8 @@ public class PersistenceEditor
private PropertyValueModel<JpaRootContextNode> buildRootContextNodeHolder() {
return new TransformationPropertyValueModel<JpaProject, JpaRootContextNode>(buildJpaProjectHolder()) {
@Override
- protected JpaRootContextNode transform_(JpaProject value) {
- return value.getRootContextNode();
+ protected JpaRootContextNode transform_(JpaProject jpaProject) {
+ return jpaProject.getRootContextNode();
}
};
}

Back to the top