aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/src/org/eclipse
diff options
context:
space:
mode:
authorRobin Rosenberg <robin.rosenberg@dewire.com>2012-06-21 01:07:36 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2012-06-21 01:07:36 +0200
commitb0349227e4adb7aed9c23b8d2fb3686ea6f3a1ce (patch)
treec20998af38d2b36cd6b86f0f2c6268995c00c72f /org.eclipse.jgit/src/org/eclipse
parent6ba8b038ceaae861650825d5830f014584c8ddf8 (diff)
downloadjgit-b0349227e4adb7aed9c23b8d2fb3686ea6f3a1ce.tar.gz
jgit-b0349227e4adb7aed9c23b8d2fb3686ea6f3a1ce.zip
Make clear method on StoredConfig public
EGit needs this to be able to revert unsaved changes. Change-Id: I50cc8056aaff47fef6080970866962e3eb634e29 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse')
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/lib/StoredConfig.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/StoredConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/StoredConfig.java
index f9041207ab..344d520680 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/StoredConfig.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/StoredConfig.java
@@ -87,4 +87,9 @@ public abstract class StoredConfig extends Config {
* the configuration could not be written.
*/
public abstract void save() throws IOException;
+
+ @Override
+ public void clear() {
+ super.clear();
+ }
}