_Entity.java template bug?
_Entity.java template bug?
- Subject: _Entity.java template bug?
- From: Alexander Spohr <email@hidden>
- Date: Fri, 15 Oct 2010 15:22:08 +0200
Hi list,
I have a warning in some of my classes that fullQualifier is not used after declaration.
The problem occurs if this if is true:
#if (${relationship.actualDestination.genericRecord})
EOFetchSpecification fetchSpec = new EOFetchSpecification("${relationship.actualDestination.name}", qualifier, sortOrderings);
fetchSpec.setIsDeep(true);
results = (NSArray<${relationship.actualDestination.classNameWithDefault}>)editingContext().objectsWithFetchSpecification(fetchSpec);
#else
results = ${relationship.actualDestination.classNameWithDefault}.fetch${relationship.actualDestination.pluralName}(editingContext(), fullQualifier, sortOrderings);
#end
I guess it should be using fullQualifier like this:
EOFetchSpecification fetchSpec = new EOFetchSpecification("${relationship.actualDestination.name}", fullQualifier, sortOrderings);
Regards,
atze
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden