Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.
Anonymous
Unregistered
|
|
When I tried run the TestParameter class, print below;
testParam1: 1 testParam2: 2 testParam3: 3 testParam4: 4
this is OK? Isn't a problem in GenericClassAttributeValidator class?
|
SFR
stranger
Reged: 06/14/04
Posts: 6
|
|
Hav a look in the TestParameter.java and comment out one of the following lines
param.setTestParam1( new Integer( 1 ) ); param.setTestParam2( new Integer( 2 ) ); param.setTestParam4( new Integer( 4 ) );
Then ther will be an error!!! Because this params are checked if the y are null and if so this is an error, cause they are not optional.
|
|
0 registered and 1 anonymous users are browsing this forum.
Moderator:
Print Topic
|
Forum Permissions
You cannot start new topics
You cannot reply to topics
HTML is disabled
UBBCode is enabled
|
Rating:
Topic views: 4988
|
|
|
|
|
|
Powered by UBB.threads™ 6.5.5