Fix to code sample for 5.3 Custom strategy

Description

The code sample in the section 5.3. Custom Strategy in the Hibernate Tools documentation has a public constructor as follows:

public ExampleStrategy(ReverseEngineeringStrategy delegate) {
super(delegate);
}

When implemented, this doesn't seem to work unless the delegate parameter is marked as final, eg:

public ExampleStrategy(final ReverseEngineeringStrategy delegate) {
super(delegate);
}

Environment

Current documentation: http://www.hibernate.org/hib_docs/tools/reference/en/html/reverseengineering.html

Activity

Show:

Max Rydahl Andersen April 20, 2006 at 8:42 PM

works fine thus rejected.

you will need to tell me more about what " this doesn't seem to work " means.

Cannot Reproduce

Details

Assignee

Reporter

Participants

DamianD
Max Rydahl Andersen

Components

Fix versions

Affects versions

Priority

Created March 28, 2006 at 7:28 AM
Updated April 20, 2006 at 8:42 PM
Resolved April 20, 2006 at 8:42 PM