Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: restore

IDE choices, coding style and formatting, commit practices, naming conventions and other issues relevant to Tapestry committers & contributers.

Div
stylefloat:right
titleRelated Articles
classaui-label
Content by Label
showLabelsfalse
showSpacefalse
titleRelated Articles
cqllabel = "tapestry-dev" and space = currentSpace()

IDE Choices

IntelliJ

It's a free license for all committers and it's just better. Yes, the first few days can be an unpleasant fumble because everything is almost, but not quite, familiar. Pretty soon you'll love IDEA and recognize that Eclipse has been bending you over and doing unspeakable things.

...

Howard uses utility methods that convert from ServiceDef to ServiceDef2, adding a wrapper implementation around a ServiceDef instance if necessary:

Code Block
  public static ServiceDef2 toServiceDef2(final ServiceDef sd)
  {
    if (sd instanceof ServiceDef2)
        return (ServiceDef2) sd;

    return new ServiceDef2()
    {
        public boolean isPreventDecoration()
        {
            return false;
        }

        public ObjectCreator createServiceCreator(ServiceBuilderResources resources)
        {
            return sd.createServiceCreator(resources);
        }

        . . .
    };
  }

Use of @since

When adding new classes or interface, or adding new methods to existing types, add an @since Javadoc comment.

...