Heng Sin Low 2009-05-20 04:14:17 +00:00
parent 7f02b4f4e9
commit c7a5b83f6e
1 changed files with 159 additions and 159 deletions

View File

@ -64,7 +64,7 @@ public class MSequence extends X_AD_Sequence
/** Log Level for Next ID Call */
private static final Level LOGLEVEL = Level.ALL;
public static synchronized int getNextID (int AD_Client_ID, String TableName)
public static int getNextID (int AD_Client_ID, String TableName)
{
return getNextID(AD_Client_ID, TableName, null);
}
@ -77,7 +77,7 @@ public class MSequence extends X_AD_Sequence
* @param trxName deprecated.
* @return next no or (-1=not found, -2=error)
*/
public static synchronized int getNextID (int AD_Client_ID, String TableName, String trxName)
public static int getNextID (int AD_Client_ID, String TableName, String trxName)
{
if (TableName == null || TableName.length() == 0)
throw new IllegalArgumentException("TableName missing");
@ -341,7 +341,7 @@ public class MSequence extends X_AD_Sequence
* @param trxName optional Transaction Name
* @return document no or null
*/
public static synchronized String getDocumentNo (int AD_Client_ID, String TableName, String trxName)
public static String getDocumentNo (int AD_Client_ID, String TableName, String trxName)
{
return getDocumentNo(AD_Client_ID, TableName, trxName, null);
@ -354,7 +354,7 @@ public class MSequence extends X_AD_Sequence
* @param PO
* @return document no or null
*/
public static synchronized String getDocumentNo (int AD_Client_ID, String TableName, String trxName, PO po)
public static String getDocumentNo (int AD_Client_ID, String TableName, String trxName, PO po)
{
if (TableName == null || TableName.length() == 0)
throw new IllegalArgumentException("TableName missing");
@ -607,7 +607,7 @@ public class MSequence extends X_AD_Sequence
* @param definite asking for a definitive or temporary sequence
* @return document no or null
*/
public static synchronized String getDocumentNo (int C_DocType_ID, String trxName, boolean definite)
public static String getDocumentNo (int C_DocType_ID, String trxName, boolean definite)
{
return getDocumentNo(C_DocType_ID, trxName, definite, null);
}
@ -620,7 +620,7 @@ public class MSequence extends X_AD_Sequence
* @param po
* @return document no or null
*/
public static synchronized String getDocumentNo (int C_DocType_ID, String trxName, boolean definite, PO po)
public static String getDocumentNo (int C_DocType_ID, String trxName, boolean definite, PO po)
{
if (C_DocType_ID == 0)
{