From b4fbe4fd4430d644d60e8ffcb90370c75a84e540 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 24 Nov 2014 09:34:27 -0500
Subject: [PATCH] Ensure that pretty-printed files are served as text/plain in Raw servlet
---
src/main/java/com/gitblit/utils/DeepCopier.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/gitblit/utils/DeepCopier.java b/src/main/java/com/gitblit/utils/DeepCopier.java
index 5df3062..5d89606 100644
--- a/src/main/java/com/gitblit/utils/DeepCopier.java
+++ b/src/main/java/com/gitblit/utils/DeepCopier.java
@@ -57,7 +57,7 @@
* very large objects. The current thread is used for serializing the
* original object in order to respect any synchronization the caller may
* have around it, and a new thread is used for deserializing the copy.
- *
+ *
*/
public static <T> T copyParallel(T original) {
try {
@@ -88,6 +88,7 @@
start();
}
+ @Override
@SuppressWarnings("unchecked")
public void run() {
--
Gitblit v1.9.1