You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/05/22 15:51:16 UTC

[jira] Updated: (WICKET-584) Use consistent naming for boolean getters

     [ https://issues.apache.org/jira/browse/WICKET-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alastair Maw updated WICKET-584:
--------------------------------

             Priority: Minor  (was: Major)
    Affects Version/s: 1.3.0-beta1

There are many places where this is an issue. For example, Component uses get* on some of its flags, but is* on others.

The Settings code is all get*

The problem is that changing all these will break a bunch of code out there and annoy a lot of people. We could leave deprecated delegate methods behind, I guess, but I'm not sure the faff is worth it, and that won't work well with interfaces like IFormSubmittingComponent.

> Use consistent naming for boolean getters
> -----------------------------------------
>
>                 Key: WICKET-584
>                 URL: https://issues.apache.org/jira/browse/WICKET-584
>             Project: Wicket
>          Issue Type: Task
>    Affects Versions: 1.3.0-beta1
>            Reporter: Thomas Singer
>            Priority: Minor
>
> For example: in ComponentTag there exist isAutoLink(), isOpen(), isClose() but in IMarkupSettings there are getAutomaticLinking(), getCompressWhitespace() or getStripComments().

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.