You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by be...@apache.org on 2021/09/18 13:33:51 UTC
[tapestry-5] branch master updated (aa5b789 -> 4f69a6d)
This is an automated email from the ASF dual-hosted git repository.
benw pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git.
from aa5b789 webresources: un-ignored TypeScriptCompilerSpec
new b0529c5 TAP5-2638: TestableRequestImpl#clear should clear internal attributes
new 4f69a6d TAP5-2639: TestableResponseImpl#clear should clear internal fields
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../java/org/apache/tapestry5/internal/test/TestableRequestImpl.java | 1 +
.../java/org/apache/tapestry5/internal/test/TestableResponseImpl.java | 2 ++
2 files changed, 3 insertions(+)
[tapestry-5] 01/02: TAP5-2638: TestableRequestImpl#clear should
clear internal attributes
Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit b0529c5dd0733f4d1cc7d175459ac82d19a2e08a
Author: Benjamin Weidig <be...@netzgut.net>
AuthorDate: Sat Sep 18 15:32:09 2021 +0200
TAP5-2638: TestableRequestImpl#clear should clear internal attributes
---
.../java/org/apache/tapestry5/internal/test/TestableRequestImpl.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableRequestImpl.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableRequestImpl.java
index 89bd851..2e75ba3 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableRequestImpl.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableRequestImpl.java
@@ -46,6 +46,7 @@ public class TestableRequestImpl implements TestableRequest
public TestableRequest clear()
{
parameters.clear();
+ attributes.clear();
return this;
}
[tapestry-5] 02/02: TAP5-2639: TestableResponseImpl#clear should
clear internal fields
Posted by be...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
commit 4f69a6d617782ee6b60544ec0c1833e4b961b809
Author: Benjamin Weidig <be...@netzgut.net>
AuthorDate: Sat Sep 18 15:32:49 2021 +0200
TAP5-2639: TestableResponseImpl#clear should clear internal fields
---
.../java/org/apache/tapestry5/internal/test/TestableResponseImpl.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableResponseImpl.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableResponseImpl.java
index a241240..532e0e1 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableResponseImpl.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/test/TestableResponseImpl.java
@@ -171,6 +171,8 @@ public class TestableResponseImpl implements TestableResponse
link = null;
renderedDocument = null;
headers.clear();
+ redirectURL = null;
+ printWriter = null;
status = HttpServletResponse.SC_OK;
errorMessage = null;
contentLength = 0;