aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core
diff options
context:
space:
mode:
authorWill Glass-Husain <wglass@forio.com>2020-07-16 22:14:26 -0700
committerWill Glass-Husain <wglass@forio.com>2020-07-16 22:14:26 -0700
commit2ce3d7cd829a9f834b2a01809d0c4734054ac2c8 (patch)
tree4cff923bdf3f574194007908d693c7f912fb84fc /velocity-engine-core
parent1ba60771d23dae7e6b3138ae6bee09cf6f9d2485 (diff)
downloadapache-velocity-engine-2ce3d7cd829a9f834b2a01809d0c4734054ac2c8.tar.gz
whitespace
Diffstat (limited to 'velocity-engine-core')
-rw-r--r--velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java b/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java
index 8653f40a..9593433a 100644
--- a/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java
+++ b/velocity-engine-core/src/test/java/org/apache/velocity/test/SecureIntrospectionTestCase.java
@@ -138,9 +138,9 @@ public class SecureIntrospectionTestCase extends BaseTestCase
private boolean doesStringEvaluate(VelocityEngine ve, Context c, String inputString) throws ParseErrorException, MethodInvocationException, ResourceNotFoundException, IOException
{
- // assume that an evaluation is bad if the input and result are the same (e.g. a bad reference)
- // or the result is an empty string (e.g. bad #foreach)
- Writer w = new StringWriter();
+ // assume that an evaluation is bad if the input and result are the same (e.g. a bad reference)
+ // or the result is an empty string (e.g. bad #foreach)
+ Writer w = new StringWriter();
ve.evaluate(c, w, "foo", inputString);
String result = w.toString();
return (result.length() > 0 ) && !result.equals(inputString);
@@ -163,14 +163,14 @@ public class SecureIntrospectionTestCase extends BaseTestCase
}
- public Collection getCollection()
- {
- Collection c = new HashSet();
- c.add("aaa");
- c.add("bbb");
- c.add("ccc");
- return c;
- }
+ public Collection getCollection()
+ {
+ Collection c = new HashSet();
+ c.add("aaa");
+ c.add("bbb");
+ c.add("ccc");
+ return c;
+ }
}