You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/06/19 23:46:02 UTC

[sling-org-apache-sling-scripting-groovy] branch master updated: remove .class suffix ("Classes as first-class citizens")

This is an automated email from the ASF dual-hosted git repository.

olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new c8cc57d  remove .class suffix ("Classes as first-class citizens")
c8cc57d is described below

commit c8cc57d2a99578f26d44cfbd1a286304e934b4f4
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Wed Jun 20 01:45:50 2018 +0200

    remove .class suffix ("Classes as first-class citizens")
---
 src/test/resources/apps/groovy/page/adaptto/html.gsp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/resources/apps/groovy/page/adaptto/html.gsp b/src/test/resources/apps/groovy/page/adaptto/html.gsp
index fb6eaea..2c051e4 100644
--- a/src/test/resources/apps/groovy/page/adaptto/html.gsp
+++ b/src/test/resources/apps/groovy/page/adaptto/html.gsp
@@ -18,7 +18,7 @@
     under the License.
 -->
 <%
-    def page = request.adaptTo(org.apache.sling.scripting.groovy.it.app.Page.class)
+    def page = request.adaptTo(org.apache.sling.scripting.groovy.it.app.Page)
 %>
 <html>
 <head>