HHH-13874 - Messages added for the deprecated methods.

This commit is contained in:
The Geeky Asian 2020-02-20 23:44:55 +04:00 committed by Steve Ebersole
parent c4bd5937e3
commit e98e89d806
2 changed files with 14 additions and 0 deletions

View File

@ -156,6 +156,14 @@ public abstract class Constraint implements RelationalModel, Exportable, Seriali
return columns.iterator();
}
/**
* This is a duplicate method, that has been removed in v.6.0.
* {@link #getColumnIterator()} is the one that will stay.
*
* @author TheGeekyAsian
*
* @deprecated (Since 6.0) use {@link #getColumnIterator()} instead.
*/
@Deprecated
public Iterator<Column> columnIterator() {
return columns.iterator();

View File

@ -236,6 +236,12 @@ public abstract class BaseCoreFunctionalTestCase extends BaseUnitTestCase {
return NO_MAPPINGS;
}
/**
*
* @author TheGeekyAsian
*
* @deprecated (Since 6.0) this method will be renamed to getOrmXmlFile().
*/
@Deprecated
protected String[] getXmlFiles() {
// todo : rename to getOrmXmlFiles()