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(); 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 @Deprecated
public Iterator<Column> columnIterator() { public Iterator<Column> columnIterator() {
return columns.iterator(); return columns.iterator();

View File

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