tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Kemnade (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2302) Tapestry should ignore hashCode, equals and toString in module classes
Date Mon, 17 Mar 2014 11:51:43 GMT

    [ https://issues.apache.org/jira/browse/TAP5-2302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13937706#comment-13937706
] 

Jochen Kemnade commented on TAP5-2302:
--------------------------------------

I have some Tapestry modules written in Clojure. The module classes are generated using Clojure's
{{gen-class}} function. That function automatically creates {{equals}}, {{hashCode}} or {{toString}}
methods in the generated classes.

> Tapestry should ignore hashCode, equals and toString in module classes
> ----------------------------------------------------------------------
>
>                 Key: TAP5-2302
>                 URL: https://issues.apache.org/jira/browse/TAP5-2302
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-ioc
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>
> When {{equals}}, {{hashCode}} or {{toString}} are overridded in a module class, Tapestry
complains that those methods are "unrecognized public methods". For example, those methods
will unconditionally be created by {{gen-class}}.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message