summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2013-02-12 17:39:49 (EST)
committerKaren Butzke2013-02-12 17:39:49 (EST)
commit92cf4bcf901000f5766815c0222411b8f76b90dc (patch)
treefa6fd3eb9bb3c78a6202f255a8ef562402bf1b21
parent89c451f6d4f7d4b51e250ef2afb37b50c6bd4f0e (diff)
downloadwebtools.dali-92cf4bcf901000f5766815c0222411b8f76b90dc.zip
webtools.dali-92cf4bcf901000f5766815c0222411b8f76b90dc.tar.gz
webtools.dali-92cf4bcf901000f5766815c0222411b8f76b90dc.tar.bz2
using helper getJpaPlatform() method
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/navigator/JpaNavigatorItemContentProviderFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/navigator/JpaNavigatorItemContentProviderFactory.java b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/navigator/JpaNavigatorItemContentProviderFactory.java
index 356be5e..ff7ac65 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/navigator/JpaNavigatorItemContentProviderFactory.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.ui/src/org/eclipse/jpt/jpa/ui/internal/navigator/JpaNavigatorItemContentProviderFactory.java
@@ -60,7 +60,7 @@ public class JpaNavigatorItemContentProviderFactory
}
private synchronized ItemTreeContentProviderFactory getDelegate(JpaContextNode contextNode) {
- JpaPlatform jpaPlatform = contextNode.getJpaProject().getJpaPlatform();
+ JpaPlatform jpaPlatform = contextNode.getJpaPlatform();
ItemTreeContentProviderFactory delegate = this.delegates.get(jpaPlatform);
if (delegate == null) {
if ( ! this.delegates.containsKey(jpaPlatform)) { // null is an allowed value