|
From a1f7f0c16eb2333e527448c2e48a512ef8da50ed Mon Sep 17 00:00:00 2001 |
|
|
From: Stanislav Ochotnicky <sochotnicky@redhat.com> |
|
|
Date: Tue, 24 Apr 2012 09:04:34 +0200 |
|
|
Subject: [PATCH] Fix build by removing some unneeded dependencies |
|
|
|
|
|
--- |
|
|
pom.xml | 72 ++++++-------------------------------------------------------- |
|
|
1 files changed, 7 insertions(+), 65 deletions(-) |
|
|
|
|
1 |
diff --git a/pom.xml b/pom.xml |
diff --git a/pom.xml b/pom.xml |
2 |
index a806a49..e806c77 100644 |
index a806a49..e806c77 100644 |
3 |
--- a/pom.xml |
--- a/pom.xml |
105 |
-- |
-- |
106 |
1.7.7.6 |
1.7.7.6 |
107 |
|
|
108 |
|
--- a/src/main/java/com/google/code/mojo/license/util/FileUtils.java 2010-08-06 13:00:51.000000000 +1000 |
109 |
|
+++ b/src/main/java/com/google/code/mojo/license/util/FileUtils.java 2015-02-27 15:04:46.157580507 +1100 |
110 |
|
@@ -52,7 +52,8 @@ |
111 |
|
} |
112 |
|
|
113 |
|
public static String read(URL location, Map<String, String> properties) throws IOException { |
114 |
|
- Reader reader = new InterpolationFilterReader(new BufferedReader(new InputStreamReader(location.openStream())), properties); |
115 |
|
+ Map<String,Object> propertiesMap = java.util.Collections.<String,Object>unmodifiableMap(properties); |
116 |
|
+ Reader reader = new InterpolationFilterReader(new BufferedReader(new InputStreamReader(location.openStream())), propertiesMap); |
117 |
|
try { |
118 |
|
return IOUtil.toString(reader); |
119 |
|
} finally { |