IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
This commit is contained in:
parent
0e5becb6c8
commit
cfa2705b25
|
@ -51,7 +51,7 @@ public class AdempiereMonitorFilter implements Filter
|
||||||
public AdempiereMonitorFilter ()
|
public AdempiereMonitorFilter ()
|
||||||
{
|
{
|
||||||
super ();
|
super ();
|
||||||
m_authorization = new Long (System.currentTimeMillis());
|
m_authorization = Long.valueOf(System.currentTimeMillis());
|
||||||
} // AdempiereMonitorFilter
|
} // AdempiereMonitorFilter
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
|
|
|
@ -108,7 +108,7 @@ public class DBDataSource extends compiereDataSource
|
||||||
}
|
}
|
||||||
else if (clazz.equals(java.lang.Byte.class))
|
else if (clazz.equals(java.lang.Byte.class))
|
||||||
{
|
{
|
||||||
objValue = new Byte(m_resultSet.getByte(field.getName()));
|
objValue = Byte.valueOf(m_resultSet.getByte(field.getName()));
|
||||||
if(m_resultSet.wasNull())
|
if(m_resultSet.wasNull())
|
||||||
{
|
{
|
||||||
objValue = null;
|
objValue = null;
|
||||||
|
@ -172,7 +172,7 @@ public class DBDataSource extends compiereDataSource
|
||||||
}
|
}
|
||||||
else if (clazz.equals(java.lang.Short.class))
|
else if (clazz.equals(java.lang.Short.class))
|
||||||
{
|
{
|
||||||
objValue = new Short(m_resultSet.getShort(field.getName()));
|
objValue = Short.valueOf(m_resultSet.getShort(field.getName()));
|
||||||
if(m_resultSet.wasNull())
|
if(m_resultSet.wasNull())
|
||||||
{
|
{
|
||||||
objValue = null;
|
objValue = null;
|
||||||
|
|
Loading…
Reference in New Issue