summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-08-21 17:32:03 (EDT)
committer Curtis Windatt2013-08-21 17:32:03 (EDT)
commita4c8649b25cad9a30be7fd6d4cc83d8acba95fa2 (patch)
tree4d43e31804f2650305e468350308d4f14e994254
parentf177901ea8b32c9b7b00ca41b7d1afa4653e80be (diff)
downloadeclipse.pde.ui-a4c8649b25cad9a30be7fd6d4cc83d8acba95fa2.zip
eclipse.pde.ui-a4c8649b25cad9a30be7fd6d4cc83d8acba95fa2.tar.gz
eclipse.pde.ui-a4c8649b25cad9a30be7fd6d4cc83d8acba95fa2.tar.bz2
Bug 415159 - pde.convertSchemaToHTML task doesn't report errors
Avoid recreating the schema on every call Change-Id: Ic7fa79830de377d0e3ef682f1214357201f0ff04
-rw-r--r--ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/schema/SchemaInclude.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/schema/SchemaInclude.java b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/schema/SchemaInclude.java
index a2b0a13..79bc650 100644
--- a/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/schema/SchemaInclude.java
+++ b/ui/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/schema/SchemaInclude.java
@@ -78,6 +78,9 @@ public class SchemaInclude extends SchemaObject implements ISchemaInclude {
}
public ISchema getIncludedSchema() {
+ if (fIncludedSchema != null) {
+ return fIncludedSchema;
+ }
ISchemaDescriptor descriptor = getSchema().getSchemaDescriptor();
if (fAbbreviated) {
SchemaRegistry registry = PDECore.getDefault().getSchemaRegistry();