From 627c466f7cc31582a2b9aa54f7ef91a8287fdd89 Mon Sep 17 00:00:00 2001
From: Alfred Schmid <A.Schmid@ff-muenchen.de>
Date: Thu, 09 Jan 2014 07:42:54 -0500
Subject: [PATCH] Issue 356 - function updateUserModels also updates the stored teams in the UserModel. Now all Teammembers are shown when realm.ldap.synchronizeUsers.enable is turned on.
---
src/main/java/com/gitblit/utils/PatchFormatter.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/gitblit/utils/PatchFormatter.java b/src/main/java/com/gitblit/utils/PatchFormatter.java
index 90b3fb1..c7d2cef 100644
--- a/src/main/java/com/gitblit/utils/PatchFormatter.java
+++ b/src/main/java/com/gitblit/utils/PatchFormatter.java
@@ -32,9 +32,9 @@
/**
* A diff formatter that outputs standard patch content.
- *
+ *
* @author James Moger
- *
+ *
*/
public class PatchFormatter extends DiffFormatter {
@@ -49,6 +49,7 @@
this.os = os;
}
+ @Override
public void format(DiffEntry entry) throws IOException {
currentTouple = new PatchTouple();
changes.put(entry.getNewPath(), currentTouple);
--
Gitblit v1.9.1