Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVivian Kong2009-07-14 17:29:48 -0400
committerVivian Kong2009-07-14 17:29:48 -0400
commit7870725ad5dd324181255e91f06a5b402c804b3e (patch)
tree0da657c1988a7d8c8ca261ceeed091d806c49f4c
parent329d67671005bb325e3f74ffd0203cc886f1e9eb (diff)
downloadorg.eclipse.cdt-7870725ad5dd324181255e91f06a5b402c804b3e.tar.gz
org.eclipse.cdt-7870725ad5dd324181255e91f06a5b402c804b3e.tar.xz
org.eclipse.cdt-7870725ad5dd324181255e91f06a5b402c804b3e.zip
backport bug 281250
-rw-r--r--core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java12
1 files changed, 10 insertions, 2 deletions
diff --git a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java
index bb7451b908..53f1fffc8f 100644
--- a/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java
+++ b/core/org.eclipse.cdt.core/model/org/eclipse/cdt/internal/core/model/CElementDeltaBuilder.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2002, 2008 IBM Corporation and others.
+ * Copyright (c) 2002, 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,7 +21,7 @@ import org.eclipse.cdt.core.model.ICElementDelta;
import org.eclipse.cdt.core.model.IParent;
/**
- * A C element delta biulder creates a C element delta on a C element between
+ * A C element delta builder creates a C element delta on a C element between
* the version of the C element at the time the comparator was created and the
* current version of the C element.
*
@@ -391,5 +391,13 @@ private void trimDelta(CElementDelta delta) {
}
}
}
+
+/**
+ * Get the change delta built by the builder.
+ * @return the change delta built by the builder.
+ */
+public CElementDelta getDelta() {
+ return delta;
+}
}

Back to the top