From b0349227e4adb7aed9c23b8d2fb3686ea6f3a1ce Mon Sep 17 00:00:00 2001 From: Robin Rosenberg Date: Thu, 21 Jun 2012 01:07:36 +0200 Subject: [PATCH] Make clear method on StoredConfig public EGit needs this to be able to revert unsaved changes. Change-Id: I50cc8056aaff47fef6080970866962e3eb634e29 Signed-off-by: Matthias Sohn --- org.eclipse.jgit/src/org/eclipse/jgit/lib/StoredConfig.java | 5 +++++ 1 file changed, 5 insertions(+) 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 f9041207a..344d52068 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(); + } }