diff options
author | Robin Rosenberg <robin.rosenberg@dewire.com> | 2012-06-21 01:07:36 +0200 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2012-06-21 01:07:36 +0200 |
commit | b0349227e4adb7aed9c23b8d2fb3686ea6f3a1ce (patch) | |
tree | c20998af38d2b36cd6b86f0f2c6268995c00c72f /org.eclipse.jgit/src/org/eclipse | |
parent | 6ba8b038ceaae861650825d5830f014584c8ddf8 (diff) | |
download | jgit-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.java | 5 |
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(); + } } |