|
|
@ -1,7 +1,7 @@
|
|
|
|
From afc1005f123933e3441833651a558ab88d7cbee4 Mon Sep 17 00:00:00 2001
|
|
|
|
From bf0462e3c293863947dde1c22a62c3d4a187a70c Mon Sep 17 00:00:00 2001
|
|
|
|
From: Marian Koncek <mkoncek@redhat.com>
|
|
|
|
From: Marian Koncek <mkoncek@redhat.com>
|
|
|
|
Date: Thu, 31 Oct 2019 14:35:40 +0100
|
|
|
|
Date: Thu, 31 Oct 2019 14:35:40 +0100
|
|
|
|
Subject: [PATCH] Port to apache-commons-lang3
|
|
|
|
Subject: [PATCH 1/2] Port to apache-commons-lang3
|
|
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
---
|
|
|
|
pom.xml | 6 +++---
|
|
|
|
pom.xml | 6 +++---
|
|
|
@ -36,10 +36,10 @@ Subject: [PATCH] Port to apache-commons-lang3
|
|
|
|
29 files changed, 39 insertions(+), 38 deletions(-)
|
|
|
|
29 files changed, 39 insertions(+), 38 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/pom.xml b/pom.xml
|
|
|
|
diff --git a/pom.xml b/pom.xml
|
|
|
|
index e2c7004..273fc9d 100644
|
|
|
|
index 77a8e383..eee15b34 100644
|
|
|
|
--- a/pom.xml
|
|
|
|
--- a/pom.xml
|
|
|
|
+++ b/pom.xml
|
|
|
|
+++ b/pom.xml
|
|
|
|
@@ -143,9 +143,9 @@
|
|
|
|
@@ -148,9 +148,9 @@
|
|
|
|
<version>3.2.1</version>
|
|
|
|
<version>3.2.1</version>
|
|
|
|
</dependency>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
@ -53,7 +53,7 @@ index e2c7004..273fc9d 100644
|
|
|
|
<dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>oro</groupId>
|
|
|
|
<groupId>oro</groupId>
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java
|
|
|
|
index 6d98b45..e146995 100644
|
|
|
|
index 6d98b45c..e1469957 100644
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeHtmlReference.java
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
@ -75,7 +75,7 @@ index 6d98b45..e146995 100644
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java
|
|
|
|
index ea49ddb..12f38f4 100644
|
|
|
|
index ea49ddbf..12f38f47 100644
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeJavaScriptReference.java
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
@ -97,7 +97,7 @@ index ea49ddb..12f38f4 100644
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java
|
|
|
|
index 585cb6c..39e04f4 100644
|
|
|
|
index 585cb6c6..39e04f43 100644
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeSqlReference.java
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
@ -120,7 +120,7 @@ index 585cb6c..39e04f4 100644
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java b/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java
|
|
|
|
index 3d5b40f..fbb525c 100644
|
|
|
|
index 3d5b40f0..fbb525cb 100644
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java
|
|
|
|
--- a/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java
|
|
|
|
+++ b/src/java/org/apache/velocity/app/event/implement/EscapeXmlReference.java
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.app.event.implement;
|
|
|
@ -133,7 +133,7 @@ index 3d5b40f..fbb525c 100644
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Escape all XML entities.
|
|
|
|
* Escape all XML entities.
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/RuntimeInstance.java b/src/java/org/apache/velocity/runtime/RuntimeInstance.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/RuntimeInstance.java b/src/java/org/apache/velocity/runtime/RuntimeInstance.java
|
|
|
|
index bf99faa..a79d42c 100644
|
|
|
|
index 670c083d..f877114d 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/RuntimeInstance.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/RuntimeInstance.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/RuntimeInstance.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/RuntimeInstance.java
|
|
|
|
@@ -32,7 +32,7 @@ import java.util.Map;
|
|
|
|
@@ -32,7 +32,7 @@ import java.util.Map;
|
|
|
@ -146,7 +146,7 @@ index bf99faa..a79d42c 100644
|
|
|
|
import org.apache.velocity.app.event.EventCartridge;
|
|
|
|
import org.apache.velocity.app.event.EventCartridge;
|
|
|
|
import org.apache.velocity.app.event.EventHandler;
|
|
|
|
import org.apache.velocity.app.event.EventHandler;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/VelocimacroFactory.java b/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/VelocimacroFactory.java b/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
|
|
|
|
index 2737b3b..956ab05 100644
|
|
|
|
index 8756b66f..70e3d489 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/VelocimacroFactory.java
|
|
|
|
@@ -26,7 +26,7 @@ import java.util.Map;
|
|
|
|
@@ -26,7 +26,7 @@ import java.util.Map;
|
|
|
@ -159,7 +159,7 @@ index 2737b3b..956ab05 100644
|
|
|
|
import org.apache.velocity.exception.VelocityException;
|
|
|
|
import org.apache.velocity.exception.VelocityException;
|
|
|
|
import org.apache.velocity.runtime.directive.Directive;
|
|
|
|
import org.apache.velocity.runtime.directive.Directive;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/directive/Block.java b/src/java/org/apache/velocity/runtime/directive/Block.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/directive/Block.java b/src/java/org/apache/velocity/runtime/directive/Block.java
|
|
|
|
index f5fdfa8..b136543 100644
|
|
|
|
index f5fdfa85..b136543d 100755
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/directive/Block.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/directive/Block.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/directive/Block.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/directive/Block.java
|
|
|
|
@@ -23,7 +23,7 @@ import java.io.IOException;
|
|
|
|
@@ -23,7 +23,7 @@ import java.io.IOException;
|
|
|
@ -172,7 +172,7 @@ index f5fdfa8..b136543 100644
|
|
|
|
import org.apache.velocity.exception.TemplateInitException;
|
|
|
|
import org.apache.velocity.exception.TemplateInitException;
|
|
|
|
import org.apache.velocity.runtime.Renderable;
|
|
|
|
import org.apache.velocity.runtime.Renderable;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java b/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java b/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
|
|
|
|
index 090b552..d22ac4e 100644
|
|
|
|
index 090b5522..d22ac4ed 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/directive/RuntimeMacro.java
|
|
|
|
@@ -23,7 +23,7 @@ import java.io.IOException;
|
|
|
|
@@ -23,7 +23,7 @@ import java.io.IOException;
|
|
|
@ -185,7 +185,7 @@ index 090b552..d22ac4e 100644
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.ParseErrorException;
|
|
|
|
import org.apache.velocity.exception.ParseErrorException;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/Parser.java b/src/java/org/apache/velocity/runtime/parser/Parser.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/Parser.java b/src/java/org/apache/velocity/runtime/parser/Parser.java
|
|
|
|
index 085e7a4..62dfe48 100644
|
|
|
|
index 1253381f..b8e7112e 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/Parser.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/Parser.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/Parser.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/Parser.java
|
|
|
|
@@ -10,7 +10,7 @@ import org.apache.velocity.runtime.directive.Directive;
|
|
|
|
@@ -10,7 +10,7 @@ import org.apache.velocity.runtime.directive.Directive;
|
|
|
@ -198,7 +198,7 @@ index 085e7a4..62dfe48 100644
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java b/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java b/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
|
|
|
|
index ce00d99..9563a1f 100644
|
|
|
|
index ce00d99d..9563a1fb 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
|
|
|
|
@@ -9,7 +9,7 @@ import org.apache.velocity.runtime.directive.Directive;
|
|
|
|
@@ -9,7 +9,7 @@ import org.apache.velocity.runtime.directive.Directive;
|
|
|
@ -211,7 +211,7 @@ index ce00d99..9563a1f 100644
|
|
|
|
|
|
|
|
|
|
|
|
/** Token Manager. */
|
|
|
|
/** Token Manager. */
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java b/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java b/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java
|
|
|
|
index 86e86b7..f1ab78d 100644
|
|
|
|
index 74727729..8fc59737 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/ASTDirective.java
|
|
|
|
@@ -22,7 +22,7 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
|
@@ -22,7 +22,7 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
@ -224,7 +224,7 @@ index 86e86b7..f1ab78d 100644
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.ParseErrorException;
|
|
|
|
import org.apache.velocity.exception.ParseErrorException;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java b/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java b/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
|
|
|
|
index a1545e5..7354c9a 100644
|
|
|
|
index 489429bb..df54dd93 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/ASTMethod.java
|
|
|
|
@@ -21,8 +21,8 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
|
@@ -21,8 +21,8 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
@ -239,7 +239,7 @@ index a1545e5..7354c9a 100644
|
|
|
|
import org.apache.velocity.context.InternalContextAdapter;
|
|
|
|
import org.apache.velocity.context.InternalContextAdapter;
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java b/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java b/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
|
|
|
|
index bb56cd9..0bc63bc 100644
|
|
|
|
index 2267993c..82cca27a 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/ASTStringLiteral.java
|
|
|
|
@@ -21,7 +21,7 @@ import java.io.IOException;
|
|
|
|
@@ -21,7 +21,7 @@ import java.io.IOException;
|
|
|
@ -252,7 +252,7 @@ index bb56cd9..0bc63bc 100644
|
|
|
|
import org.apache.velocity.exception.TemplateInitException;
|
|
|
|
import org.apache.velocity.exception.TemplateInitException;
|
|
|
|
import org.apache.velocity.exception.VelocityException;
|
|
|
|
import org.apache.velocity.exception.VelocityException;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java b/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java b/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java
|
|
|
|
index 52bcda9..8362c3e 100644
|
|
|
|
index 713a86ae..0ac03fbc 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/NodeUtils.java
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
|
@@ -19,7 +19,7 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
@ -265,7 +265,7 @@ index 52bcda9..8362c3e 100644
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.runtime.parser.ParserConstants;
|
|
|
|
import org.apache.velocity.runtime.parser.ParserConstants;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java b/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java b/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java
|
|
|
|
index 8c78228..20d6c18 100644
|
|
|
|
index 8c78228e..20d6c185 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/PropertyExecutor.java
|
|
|
|
@@ -21,7 +21,7 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
|
@@ -21,7 +21,7 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
@ -278,7 +278,7 @@ index 8c78228..20d6c18 100644
|
|
|
|
import org.apache.velocity.runtime.RuntimeLogger;
|
|
|
|
import org.apache.velocity.runtime.RuntimeLogger;
|
|
|
|
import org.apache.velocity.runtime.log.Log;
|
|
|
|
import org.apache.velocity.runtime.log.Log;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java b/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java b/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java
|
|
|
|
index 0b27b45..ba5d512 100644
|
|
|
|
index 0078d023..80887fad 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/SetPropertyExecutor.java
|
|
|
|
@@ -21,8 +21,8 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
|
@@ -21,8 +21,8 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
@ -293,7 +293,7 @@ index 0b27b45..ba5d512 100644
|
|
|
|
import org.apache.velocity.runtime.log.Log;
|
|
|
|
import org.apache.velocity.runtime.log.Log;
|
|
|
|
import org.apache.velocity.util.introspection.Introspector;
|
|
|
|
import org.apache.velocity.util.introspection.Introspector;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java b/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java b/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java
|
|
|
|
index 108846f..6372830 100644
|
|
|
|
index 108846f8..6372830f 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/parser/node/SimpleNode.java
|
|
|
|
@@ -22,8 +22,8 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
|
@@ -22,8 +22,8 @@ package org.apache.velocity.runtime.parser.node;
|
|
|
@ -308,7 +308,7 @@ index 108846f..6372830 100644
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.MethodInvocationException;
|
|
|
|
import org.apache.velocity.exception.ParseErrorException;
|
|
|
|
import org.apache.velocity.exception.ParseErrorException;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java b/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java b/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
|
|
|
|
index 1b504eb..b33d4ed 100644
|
|
|
|
index 778b42a9..a396e42f 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/ResourceManagerImpl.java
|
|
|
|
@@ -158,7 +158,7 @@ public class ResourceManagerImpl
|
|
|
|
@@ -158,7 +158,7 @@ public class ResourceManagerImpl
|
|
|
@ -330,7 +330,7 @@ index 1b504eb..b33d4ed 100644
|
|
|
|
log.warn("Declared encoding for template '" +
|
|
|
|
log.warn("Declared encoding for template '" +
|
|
|
|
resource.getName() +
|
|
|
|
resource.getName() +
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java
|
|
|
|
index 623766f..a7cc276 100644
|
|
|
|
index 52d09a98..bf48aa45 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/ClasspathResourceLoader.java
|
|
|
|
@@ -22,7 +22,7 @@ package org.apache.velocity.runtime.resource.loader;
|
|
|
|
@@ -22,7 +22,7 @@ package org.apache.velocity.runtime.resource.loader;
|
|
|
@ -343,7 +343,7 @@ index 623766f..a7cc276 100644
|
|
|
|
import org.apache.velocity.runtime.resource.Resource;
|
|
|
|
import org.apache.velocity.runtime.resource.Resource;
|
|
|
|
import org.apache.velocity.util.ClassUtils;
|
|
|
|
import org.apache.velocity.util.ClassUtils;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
|
|
|
|
index 833e0ac..7414913 100644
|
|
|
|
index f85b6d62..38ec30dc 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/DataSourceResourceLoader.java
|
|
|
|
@@ -218,7 +218,7 @@ public class DataSourceResourceLoader extends ResourceLoader
|
|
|
|
@@ -218,7 +218,7 @@ public class DataSourceResourceLoader extends ResourceLoader
|
|
|
@ -356,7 +356,7 @@ index 833e0ac..7414913 100644
|
|
|
|
throw new ResourceNotFoundException("DataSourceResourceLoader: Template name was empty or null");
|
|
|
|
throw new ResourceNotFoundException("DataSourceResourceLoader: Template name was empty or null");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java
|
|
|
|
index 462ed16..3898889 100644
|
|
|
|
index 923274a7..8580caeb 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/FileResourceLoader.java
|
|
|
|
@@ -118,7 +118,7 @@ public class FileResourceLoader extends ResourceLoader
|
|
|
|
@@ -118,7 +118,7 @@ public class FileResourceLoader extends ResourceLoader
|
|
|
@ -369,7 +369,7 @@ index 462ed16..3898889 100644
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* If we don't get a properly formed templateName then
|
|
|
|
* If we don't get a properly formed templateName then
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
|
|
|
|
index 172384e..b7fb1a7 100644
|
|
|
|
index 054d890e..71d6c083 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/JarResourceLoader.java
|
|
|
|
@@ -195,7 +195,7 @@ public class JarResourceLoader extends ResourceLoader
|
|
|
|
@@ -195,7 +195,7 @@ public class JarResourceLoader extends ResourceLoader
|
|
|
@ -382,7 +382,7 @@ index 172384e..b7fb1a7 100644
|
|
|
|
throw new ResourceNotFoundException("Need to have a resource!");
|
|
|
|
throw new ResourceNotFoundException("Need to have a resource!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
|
|
|
|
index 895182d..41c0ec9 100644
|
|
|
|
index 245c10b8..86a08b9d 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/StringResourceLoader.java
|
|
|
|
@@ -26,7 +26,7 @@ import java.io.ByteArrayInputStream;
|
|
|
|
@@ -26,7 +26,7 @@ import java.io.ByteArrayInputStream;
|
|
|
@ -395,7 +395,7 @@ index 895182d..41c0ec9 100644
|
|
|
|
import org.apache.velocity.exception.VelocityException;
|
|
|
|
import org.apache.velocity.exception.VelocityException;
|
|
|
|
import org.apache.velocity.runtime.resource.Resource;
|
|
|
|
import org.apache.velocity.runtime.resource.Resource;
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java b/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java
|
|
|
|
index de06636..74ab86a 100644
|
|
|
|
index de066367..74ab86a6 100644
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java
|
|
|
|
--- a/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java
|
|
|
|
+++ b/src/java/org/apache/velocity/runtime/resource/loader/URLResourceLoader.java
|
|
|
|
@@ -26,7 +26,7 @@ import java.net.URL;
|
|
|
|
@@ -26,7 +26,7 @@ import java.net.URL;
|
|
|
@ -408,7 +408,7 @@ index de06636..74ab86a 100644
|
|
|
|
import org.apache.velocity.exception.ResourceNotFoundException;
|
|
|
|
import org.apache.velocity.exception.ResourceNotFoundException;
|
|
|
|
import org.apache.velocity.runtime.resource.Resource;
|
|
|
|
import org.apache.velocity.runtime.resource.Resource;
|
|
|
|
diff --git a/src/java/org/apache/velocity/util/introspection/ClassMap.java b/src/java/org/apache/velocity/util/introspection/ClassMap.java
|
|
|
|
diff --git a/src/java/org/apache/velocity/util/introspection/ClassMap.java b/src/java/org/apache/velocity/util/introspection/ClassMap.java
|
|
|
|
index 66bc7b1..77c1c8b 100644
|
|
|
|
index 00512892..2e128b7e 100644
|
|
|
|
--- a/src/java/org/apache/velocity/util/introspection/ClassMap.java
|
|
|
|
--- a/src/java/org/apache/velocity/util/introspection/ClassMap.java
|
|
|
|
+++ b/src/java/org/apache/velocity/util/introspection/ClassMap.java
|
|
|
|
+++ b/src/java/org/apache/velocity/util/introspection/ClassMap.java
|
|
|
|
@@ -23,7 +23,7 @@ import java.lang.reflect.Method;
|
|
|
|
@@ -23,7 +23,7 @@ import java.lang.reflect.Method;
|
|
|
@ -421,7 +421,7 @@ index 66bc7b1..77c1c8b 100644
|
|
|
|
import org.apache.velocity.util.MapFactory;
|
|
|
|
import org.apache.velocity.util.MapFactory;
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java b/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java
|
|
|
|
diff --git a/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java b/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java
|
|
|
|
index 3142f45..ff36682 100644
|
|
|
|
index 02499985..4b0b254f 100644
|
|
|
|
--- a/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java
|
|
|
|
--- a/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java
|
|
|
|
+++ b/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java
|
|
|
|
+++ b/src/test/org/apache/velocity/io/UnicodeInputStreamTestCase.java
|
|
|
|
@@ -27,7 +27,7 @@ import junit.framework.Test;
|
|
|
|
@@ -27,7 +27,7 @@ import junit.framework.Test;
|
|
|
@ -434,7 +434,7 @@ index 3142f45..ff36682 100644
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
diff --git a/src/test/org/apache/velocity/test/BaseTestCase.java b/src/test/org/apache/velocity/test/BaseTestCase.java
|
|
|
|
diff --git a/src/test/org/apache/velocity/test/BaseTestCase.java b/src/test/org/apache/velocity/test/BaseTestCase.java
|
|
|
|
index 9faf585..f893d0f 100644
|
|
|
|
index 0ea00cbd..798a322b 100644
|
|
|
|
--- a/src/test/org/apache/velocity/test/BaseTestCase.java
|
|
|
|
--- a/src/test/org/apache/velocity/test/BaseTestCase.java
|
|
|
|
+++ b/src/test/org/apache/velocity/test/BaseTestCase.java
|
|
|
|
+++ b/src/test/org/apache/velocity/test/BaseTestCase.java
|
|
|
|
@@ -353,7 +353,7 @@ public abstract class BaseTestCase extends TestCase implements TemplateTestBase
|
|
|
|
@@ -353,7 +353,7 @@ public abstract class BaseTestCase extends TestCase implements TemplateTestBase
|
|
|
@ -447,7 +447,7 @@ index 9faf585..f893d0f 100644
|
|
|
|
buf.append('.').append(ext);
|
|
|
|
buf.append('.').append(ext);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
diff --git a/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java b/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java
|
|
|
|
diff --git a/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java b/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java
|
|
|
|
index d1ad1db..e70c5f2 100644
|
|
|
|
index 77dfc54e..4befc6ef 100644
|
|
|
|
--- a/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java
|
|
|
|
--- a/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java
|
|
|
|
+++ b/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java
|
|
|
|
+++ b/src/test/org/apache/velocity/test/MethodCacheKeyTestCase.java
|
|
|
|
@@ -21,7 +21,7 @@ package org.apache.velocity.test;
|
|
|
|
@@ -21,7 +21,7 @@ package org.apache.velocity.test;
|
|
|
@ -460,5 +460,5 @@ index d1ad1db..e70c5f2 100644
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
--
|
|
|
|
--
|
|
|
|
2.21.0
|
|
|
|
2.25.4
|
|
|
|
|
|
|
|
|