Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BE99D200D41 for ; Tue, 7 Nov 2017 11:12:20 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BD387160C0F; Tue, 7 Nov 2017 10:12:20 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0F5FB160C04 for ; Tue, 7 Nov 2017 11:12:19 +0100 (CET) Received: (qmail 73974 invoked by uid 500); 7 Nov 2017 10:12:18 -0000 Mailing-List: contact commits-help@sling.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@sling.apache.org Delivered-To: mailing list commits@sling.apache.org Received: (qmail 73509 invoked by uid 99); 7 Nov 2017 10:12:18 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Nov 2017 10:12:18 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 391F987B87; Tue, 7 Nov 2017 10:12:17 +0000 (UTC) Date: Tue, 07 Nov 2017 10:12:29 +0000 To: "commits@sling.apache.org" Subject: [sling-org-apache-sling-scripting-thymeleaf] 13/17: SLING-3649 throw UnsupportedOperationException when deprecated methods are called MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: rombert@apache.org In-Reply-To: <151004953667.8532.5612447325298721512@gitbox.apache.org> References: <151004953667.8532.5612447325298721512@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: sling-org-apache-sling-scripting-thymeleaf X-Git-Refname: refs/tags/org.apache.sling.scripting.thymeleaf-0.0.2 X-Git-Reftype: annotated tag X-Git-Rev: 26513f4990b5ac48482a2a27e9cbbadbbf83d2c4 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20171107101217.391F987B87@gitbox.apache.org> archived-at: Tue, 07 Nov 2017 10:12:20 -0000 This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.scripting.thymeleaf-0.0.2 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-thymeleaf.git commit 26513f4990b5ac48482a2a27e9cbbadbbf83d2c4 Author: Oliver Lietz AuthorDate: Wed Jun 25 09:29:28 2014 +0000 SLING-3649 throw UnsupportedOperationException when deprecated methods are called git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/scripting/thymeleaf@1605304 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/sling/scripting/thymeleaf/SlingWebContext.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/apache/sling/scripting/thymeleaf/SlingWebContext.java b/src/main/java/org/apache/sling/scripting/thymeleaf/SlingWebContext.java index a5e206d..82bf14b 100644 --- a/src/main/java/org/apache/sling/scripting/thymeleaf/SlingWebContext.java +++ b/src/main/java/org/apache/sling/scripting/thymeleaf/SlingWebContext.java @@ -76,22 +76,22 @@ public class SlingWebContext implements SlingContext, IWebContext { @Override public VariablesMap getRequestParameters() { - return null; + throw new UnsupportedOperationException("Deprecated method is not supported."); } @Override public VariablesMap getRequestAttributes() { - return null; + throw new UnsupportedOperationException("Deprecated method is not supported."); } @Override public VariablesMap getSessionAttributes() { - return null; + throw new UnsupportedOperationException("Deprecated method is not supported."); } @Override public VariablesMap getApplicationAttributes() { - return null; + throw new UnsupportedOperationException("Deprecated method is not supported."); } @Override -- To stop receiving notification emails like this one, please contact "commits@sling.apache.org" .