IDEMPIERE-4214 Javadoc: correct warnings on newest java version (#2168)

This commit is contained in:
Carlos Ruiz 2023-12-29 05:32:58 +01:00
parent ce5edc84fd
commit 7ad6cfc68d
64 changed files with 80 additions and 85 deletions

View File

@ -143,7 +143,7 @@ public abstract class AnnotationBasedEventManager extends AnnotationBasedFactory
* If needed, caller can use the return {@link CompletableFuture} to wait for the scan to complete (using either get or join). * If needed, caller can use the return {@link CompletableFuture} to wait for the scan to complete (using either get or join).
* @param context bundle context * @param context bundle context
* @param packageNames one or more package to scan * @param packageNames one or more package to scan
* @return CompletableFuture<List<EventHandler>> * @return CompletableFuture&lt;List&lt;EventHandler&gt;&gt;
*/ */
public synchronized CompletableFuture<List<EventHandler>> scan(BundleContext context, String ...packageNames) { public synchronized CompletableFuture<List<EventHandler>> scan(BundleContext context, String ...packageNames) {
return scan(context, false, packageNames); return scan(context, false, packageNames);
@ -154,7 +154,7 @@ public abstract class AnnotationBasedEventManager extends AnnotationBasedFactory
* @param context bundle context * @param context bundle context
* @param logScanDuration * @param logScanDuration
* @param packageNames one or more package to scan * @param packageNames one or more package to scan
* @return CompletableFuture<List<EventHandler>> * @return CompletableFuture&lt;List&lt;EventHandler&gt;&gt;
*/ */
protected CompletableFuture<List<EventHandler>> scan(BundleContext context, boolean logScanDuration, String ...packageNames) { protected CompletableFuture<List<EventHandler>> scan(BundleContext context, boolean logScanDuration, String ...packageNames) {
long start = logScanDuration ? System.currentTimeMillis() : 0; long start = logScanDuration ? System.currentTimeMillis() : 0;

View File

@ -1092,7 +1092,7 @@ public class Core {
/** /**
* get Credit Manager * get Credit Manager
* *
* @param PO * @param po
* @return instance of the ICreditManager * @return instance of the ICreditManager
*/ */
public static ICreditManager getCreditManager(PO po) public static ICreditManager getCreditManager(PO po)

View File

@ -77,7 +77,7 @@ public interface IGridTabExporter {
/** /**
* Maximum deep of child tab supported by the exporter * Maximum deep of child tab supported by the exporter
* @return > 0 for maximum level of deep, <= 0 for unlimited level of deep * @return &gt; 0 for maximum level of deep, &lt;= 0 for unlimited level of deep
*/ */
default int maxDeepOfChildTab() { default int maxDeepOfChildTab() {
return 0; return 0;

View File

@ -66,7 +66,6 @@ public interface ITaxLookup {
* @param billDate Billing Date * @param billDate Billing Date
* @param billFromC_Location_ID Billing from (Tax Location from) * @param billFromC_Location_ID Billing from (Tax Location from)
* @param billToC_Location_ID Billing to (Tax Location to) * @param billToC_Location_ID Billing to (Tax Location to)
* @param deliveryRule Order/Invoice's Delivery Via Rule
* @param trxName * @param trxName
* @return C_Tax_ID * @return C_Tax_ID
*/ */

View File

@ -45,8 +45,8 @@ public interface ISSOPrincipalService
* *
* @param request HttpServletRequest * @param request HttpServletRequest
* @param response HttpServletResponse * @param response HttpServletResponse
* @param redirectMode {@value SSOUtils.SSO_MODE_WEBUI}, {@value SSOUtils.SSO_MODE_OSGI}, * @param redirectMode {@value SSOUtils#SSO_MODE_WEBUI}, {@value SSOUtils#SSO_MODE_OSGI},
* {@value SSOUtils.SSO_MODE_MONITOR} * {@value SSOUtils#SSO_MODE_MONITOR}
* @throws Throwable * @throws Throwable
*/ */
public void getAuthenticationToken(HttpServletRequest request, HttpServletResponse response, String redirectMode) throws Throwable; public void getAuthenticationToken(HttpServletRequest request, HttpServletResponse response, String redirectMode) throws Throwable;
@ -65,8 +65,8 @@ public interface ISSOPrincipalService
* *
* @param request HttpServletRequest * @param request HttpServletRequest
* @param response HttpServletResponse * @param response HttpServletResponse
* @param redirectMode {@value SSOUtils.SSO_MODE_WEBUI}, {@value SSOUtils.SSO_MODE_OSGI}, * @param redirectMode {@value SSOUtils#SSO_MODE_WEBUI}, {@value SSOUtils#SSO_MODE_OSGI},
* {@value SSOUtils.SSO_MODE_MONITOR} * {@value SSOUtils#SSO_MODE_MONITOR}
* @throws IOException * @throws IOException
*/ */
public void redirectForAuthentication(HttpServletRequest request, HttpServletResponse response, String redirectMode) throws IOException; public void redirectForAuthentication(HttpServletRequest request, HttpServletResponse response, String redirectMode) throws IOException;

View File

@ -216,8 +216,8 @@ public class MBroadcastMessage extends X_AD_BroadcastMessage implements Immutabl
/** /**
* Returns a link to be used in broadcast messages to open a record * Returns a link to be used in broadcast messages to open a record
* @param PO po * @param po PO
* @param uuid of the window * @param windowUUID of the window
* @param text of the link * @param text of the link
* @return the URL link to set in the broadcast message * @return the URL link to set in the broadcast message
* */ * */

View File

@ -90,7 +90,7 @@ public interface IProcessUI {
/** /**
* Prompt for secret input (for e.g password) from user. * Prompt for secret input (for e.g password) from user.
* *
* @param title * @param message
* @param callback * @param callback
*/ */
public void askForSecretInput(String message, Callback<String> callback); public void askForSecretInput(String message, Callback<String> callback);

View File

@ -39,7 +39,7 @@ public class ProductInfo
/** /**
* Constructor * Constructor
* @param M_Product_ID Product * @param M_Product_ID Product
* @param trxName transcation * @param trxName transaction
*/ */
public ProductInfo (int M_Product_ID, String trxName) public ProductInfo (int M_Product_ID, String trxName)
{ {

View File

@ -58,7 +58,7 @@ public class ProxyFactory {
* @param resultSetType * @param resultSetType
* @param resultSetConcurrency * @param resultSetConcurrency
* @param sql * @param sql
* @param trxName * @param connection
* @return new CPreparedStatement proxy instance * @return new CPreparedStatement proxy instance
*/ */
public static CPreparedStatement newCPreparedStatement(int resultSetType, public static CPreparedStatement newCPreparedStatement(int resultSetType,

View File

@ -2560,7 +2560,6 @@ public class GridField
/** /**
* Get the default state of collapse field group type * Get the default state of collapse field group type
* @param true if field group should collapsed by default
*/ */
public boolean getIsCollapsedByDefault() { public boolean getIsCollapsedByDefault() {
return m_vo.IsCollapsedByDefault; return m_vo.IsCollapsedByDefault;

View File

@ -843,7 +843,7 @@ public class GridFieldVO implements Serializable, Cloneable
/** /**
* Clone Field VO. * Clone Field VO.
* @param Ctx ctx * @param ctx context
* @param windowNo window no * @param windowNo window no
* @param tabNo tab no * @param tabNo tab no
* @param ad_Window_ID window id * @param ad_Window_ID window id

View File

@ -414,7 +414,7 @@ public class InfoColumnVO implements Serializable, Cloneable {
} }
/** /**
* @return query operator (=, <, >, etc) * @return query operator (=, &lt;, &gt;, etc)
*/ */
public String getQueryOperator() { public String getQueryOperator() {
return QueryOperator; return QueryOperator;

View File

@ -1151,7 +1151,7 @@ public class MAssetAddition extends X_A_Asset_Addition
} }
/** /**
* @return true if assert value <= 0 * @return true if assert value &lt;= 0
*/ */
public boolean hasZeroValues() public boolean hasZeroValues()
{ {

View File

@ -77,7 +77,7 @@ public class MChat extends X_CM_Chat
* Standard Constructor * Standard Constructor
* @param ctx context * @param ctx context
* @param CM_Chat_ID id * @param CM_Chat_ID id
* @param trxName transcation * @param trxName transaction
*/ */
public MChat (Properties ctx, int CM_Chat_ID, String trxName) public MChat (Properties ctx, int CM_Chat_ID, String trxName)
{ {

View File

@ -1774,7 +1774,7 @@ public class MCost extends X_M_Cost
} // beforeDelete } // beforeDelete
/** /**
* Throw {@link AverageCostingNegativeQtyException} if cost element is average po or average invoice and currentQty < 0. * Throw {@link AverageCostingNegativeQtyException} if cost element is average po or average invoice and currentQty &lt; 0.
* @param CurrentQty * @param CurrentQty
*/ */
@Override @Override

View File

@ -265,7 +265,7 @@ public class MDashboardContent extends X_PA_DashboardContent
/** /**
* Parse Process Parameters * Parse Process Parameters
* @param parameters * @param parameters
* @return HashMap<String parameterName, String value> * @return HashMap&lt;String parameterName, String value&gt;
*/ */
public static Map<String, String> parseProcessParameters(String parameters) { public static Map<String, String> parseProcessParameters(String parameters) {
Map<String, String> paramMap = new HashMap<String, String>(); Map<String, String> paramMap = new HashMap<String, String>();

View File

@ -112,8 +112,8 @@ public class MDocumentStatus extends X_PA_DocumentStatus implements ImmutablePOS
/** /**
* Get from Cache (immutable) * Get from Cache (immutable)
* @param ctx context * @param ctx context
* @param M_Product_Category_ID id * @param PA_DocumentStatus_ID id
* @return category * @return document status
*/ */
public static MDocumentStatus get (Properties ctx, int PA_DocumentStatus_ID) public static MDocumentStatus get (Properties ctx, int PA_DocumentStatus_ID)
{ {

View File

@ -323,7 +323,7 @@ public class MInOutLine extends X_M_InOutLine
/** /**
* Set M_Locator_ID. * Set M_Locator_ID.
* Throw IllegalArgumentException if M_Locator_ID < 0. * Throw IllegalArgumentException if M_Locator_ID &lt; 0.
* @param M_Locator_ID id * @param M_Locator_ID id
*/ */
@Override @Override

View File

@ -469,7 +469,7 @@ public class MInventoryLine extends X_M_InventoryLine
} }
/** /**
* @return true if is an outgoing transaction (movement qty < 0) * @return true if is an outgoing transaction (movement qty &lt; 0)
*/ */
public boolean isSOTrx() { public boolean isSOTrx() {
return getMovementQty().signum() < 0; return getMovementQty().signum() < 0;

View File

@ -238,7 +238,7 @@ public final class MLookup extends Lookup implements Serializable
/** /**
* Get Display Text.<br/> * Get Display Text.<br/>
* If not found, return key embedded in "<>". * If not found, return key embedded in "&lt;&gt;".
* @param key key value * @param key key value
* @return display text * @return display text
*/ */

View File

@ -323,7 +323,7 @@ public class MMovementLine extends X_M_MovementLine
} // setOrderLine } // setOrderLine
/** /**
* Set M_Locator_ID. Throw exception if M_Locator_ID < 0. * Set M_Locator_ID. Throw exception if M_Locator_ID &lt; 0.
* @param M_Locator_ID id * @param M_Locator_ID id
*/ */
@Override @Override
@ -336,7 +336,7 @@ public class MMovementLine extends X_M_MovementLine
} // setM_Locator_ID } // setM_Locator_ID
/** /**
* Set M_LocatorTo_ID. Throw exception if M_LocatorTo_ID < 0. * Set M_LocatorTo_ID. Throw exception if M_LocatorTo_ID &lt; 0.
* @param M_LocatorTo_ID id * @param M_LocatorTo_ID id
*/ */
@Override @Override

View File

@ -1008,7 +1008,7 @@ public class MOrderLine extends X_C_OrderLine
* @param oldTax true if the old C_Tax_ID should be used * @param oldTax true if the old C_Tax_ID should be used
* @return true if success, false otherwise * @return true if success, false otherwise
* *
* @author teo_sarca [ 1583825 ] * author teo_sarca [ 1583825 ]
*/ */
public boolean updateOrderTax(boolean oldTax) { public boolean updateOrderTax(boolean oldTax) {
int C_Tax_ID = getC_Tax_ID(); int C_Tax_ID = getC_Tax_ID();

View File

@ -63,7 +63,6 @@ public class MOrg extends X_AD_Org implements ImmutablePOSupport
/** /**
* Get Active Organizations Of Client * Get Active Organizations Of Client
* @param ctx context
* @param clientID AD_Client_ID * @param clientID AD_Client_ID
* @return array of organization * @return array of organization
*/ */

View File

@ -723,7 +723,7 @@ public class MPInstance extends X_AD_PInstance
/** /**
* Set AD_PrintFormat_ID if empty, AD_Language_ID if empty and save the record. * Set AD_PrintFormat_ID if empty, AD_Language_ID if empty and save the record.
* @param pf * @param format
*/ */
public void updatePrintFormatAndLanguageIfEmpty(MPrintFormat format) { public void updatePrintFormatAndLanguageIfEmpty(MPrintFormat format) {
if(getAD_PrintFormat_ID() <= 0 && format.getAD_PrintFormat_ID() > 0) { if(getAD_PrintFormat_ID() <= 0 && format.getAD_PrintFormat_ID() > 0) {

View File

@ -50,8 +50,8 @@ public class MPostIt extends X_AD_PostIt
/** /**
* Standard Constructor * Standard Constructor
* @param ctx context * @param ctx context
* @param XXA_PostIt_ID id * @param AD_PostIt_ID id
* @param trxName transcation * @param trxName transaction
*/ */
public MPostIt (Properties ctx, int AD_PostIt_ID, String trxName) public MPostIt (Properties ctx, int AD_PostIt_ID, String trxName)
{ {

View File

@ -469,7 +469,7 @@ public class MProject extends X_C_Project
/** /**
* Get Invoices Generated for this Project * Get Invoices Generated for this Project
* @return array of invoice * @return array of invoice
* @author monhate * author monhate
*/ */
public MInvoice[] getMInvoices(){ public MInvoice[] getMInvoices(){
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();

View File

@ -385,7 +385,7 @@ public class MRMALine extends X_M_RMALine
} }
/** /**
* Validate that line quantity is <= MInOutLine quantity * Validate that line quantity is &lt;= MInOutLine quantity
* @return true if pass validation * @return true if pass validation
*/ */
public boolean checkQty() public boolean checkQty()

View File

@ -402,7 +402,7 @@ public class MRecentItem extends X_AD_RecentItem implements ImmutablePOSupport
/** /**
* Clear the label (to display) cache in a recent item instance. * Clear the label (to display) cache in a recent item instance.
* @param AD_Table_ID * @param AD_Table_ID
* @param Record_ID * @param Record_UU
*/ */
public static synchronized void clearLabel(int AD_Table_ID, String Record_UU) { public static synchronized void clearLabel(int AD_Table_ID, String Record_UU) {
Iterator<MRecentItem> it = s_cache.values().iterator(); Iterator<MRecentItem> it = s_cache.values().iterator();

View File

@ -111,7 +111,7 @@ public class MRfQResponseLineQty extends X_C_RfQResponseLineQty implements Compa
/** /**
* Is the Amount Valid.<br/> * Is the Amount Valid.<br/>
* - Price > 0 <br/> * - Price > 0 <br/>
* - Discount <= 100 <br/> * - Discount &lt;= 100 <br/>
* - Net Amount > 0 * - Net Amount > 0
* @return true if valid * @return true if valid
*/ */

View File

@ -2377,7 +2377,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
* @param TableLevel table access level * @param TableLevel table access level
* @return true if can view<br/> * @return true if can view<br/>
* Access error info (AccessTableNoUpdate, AccessTableNoView) is saved in the log * Access error info (AccessTableNoUpdate, AccessTableNoView) is saved in the log
* @see org.compiere.model.MTabVO#loadTabDetails(MTabVO, ResultSet) * @see org.compiere.model.GridTabVO#loadTabDetails(GridTabVO, ResultSet)
*/ */
public boolean canView(Properties ctx, String TableLevel) public boolean canView(Properties ctx, String TableLevel)
{ {
@ -2627,7 +2627,7 @@ public final class MRole extends X_AD_Role implements ImmutablePOSupport
* @param clientId AD_Client_ID * @param clientId AD_Client_ID
* @param docTypeId C_DocType_ID * @param docTypeId C_DocType_ID
* @param options array of document actions * @param options array of document actions
* @param maxIndex define the range of elements to examine in options (>= 0 and < maxIndex) * @param maxIndex define the range of elements to examine in options (>= 0 and &lt; maxIndex)
* @return number of valid actions in the String[] options argument * @return number of valid actions in the String[] options argument
*/ */
public int checkActionAccess(int clientId, int docTypeId, String[] options, public int checkActionAccess(int clientId, int docTypeId, String[] options,

View File

@ -928,7 +928,7 @@ public class ModelValidationEngine
* Fire afterLoadPreferences model validator event and {@link IEventTopics#PREF_AFTER_LOAD} OSGi event. * Fire afterLoadPreferences model validator event and {@link IEventTopics#PREF_AFTER_LOAD} OSGi event.
* @param ctx context * @param ctx context
* @see org.compiere.util.Login#loadPreferences(KeyNamePair, KeyNamePair, java.sql.Timestamp, String) * @see org.compiere.util.Login#loadPreferences(KeyNamePair, KeyNamePair, java.sql.Timestamp, String)
* @author Teo Sarca - FR [ 1670025 ] - https://sourceforge.net/p/adempiere/feature-requests/78/ * author Teo Sarca - FR [ 1670025 ] - https://sourceforge.net/p/adempiere/feature-requests/78/
*/ */
public void afterLoadPreferences (Properties ctx) public void afterLoadPreferences (Properties ctx)
{ {

View File

@ -2590,7 +2590,6 @@ public abstract class PO
/** /**
* Update Value or create new record, used when writing a cross tenant record * Update Value or create new record, used when writing a cross tenant record
* @param trxName transaction
* @throws AdempiereException * @throws AdempiereException
* @see #saveEx(String) * @see #saveEx(String)
*/ */

View File

@ -714,7 +714,7 @@ public class SetGetUtil
/** /**
* Get Info for given table and ID. * Get Info for given table and ID.
* This method calls {@link MLookupFactory#getLookup_TableDirEmbed(Language, String, String, String) to * This method calls {@link MLookupFactory#getLookup_TableDirEmbed(Language, String, String, String)} to
* generate the info string. * generate the info string.
* @param ctx context * @param ctx context
* @param tableName tablename * @param tableName tablename

View File

@ -715,8 +715,8 @@ public final class DB
/** /**
* Prepare Statement * Prepare Statement
* @param connection
* @param sql * @param sql
* @param trxName transaction
* @return Prepared Statement * @return Prepared Statement
*/ */
public static CPreparedStatement prepareStatement (Connection connection, String sql) public static CPreparedStatement prepareStatement (Connection connection, String sql)
@ -757,10 +757,10 @@ public final class DB
/** /**
* Prepare Statement. * Prepare Statement.
* @param connection
* @param sql sql statement * @param sql sql statement
* @param resultSetType - ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.TYPE_SCROLL_SENSITIVE * @param resultSetType - ResultSet.TYPE_FORWARD_ONLY, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.TYPE_SCROLL_SENSITIVE
* @param resultSetConcurrency - ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE * @param resultSetConcurrency - ResultSet.CONCUR_READ_ONLY or ResultSet.CONCUR_UPDATABLE
* @param trxName transaction name
* @return Prepared Statement r/o or r/w depending on concur * @return Prepared Statement r/o or r/w depending on concur
*/ */
public static CPreparedStatement prepareStatement(Connection connection, String sql, public static CPreparedStatement prepareStatement(Connection connection, String sql,

View File

@ -756,7 +756,7 @@ public class Util
/** /**
* Make the filename correct (updating all unauthorized characters to safe ones) * Make the filename correct (updating all unauthorized characters to safe ones)
* @param the filename to check * @param input the filename to check
* @returns the correct filename * @returns the correct filename
*/ */
public static String setFilenameCorrect(String input) { public static String setFilenameCorrect(String input) {

View File

@ -667,7 +667,8 @@ public class ADSortTab extends Panel implements IADTabpanel
/** /**
* Move items within Yes List with Drag Event and Multiple Choice * Move items within Yes List with Drag Event and Multiple Choice
* @param event event * @param endIndex
* @param selObjects
*/ */
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects) protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
{ {

View File

@ -2461,7 +2461,7 @@ DataStatusListener, IADTabpanel, IdSpace, IFieldEditorContainer
/** /**
* *
* @return {@link AbstractADWindowContenta} * @return {@link AbstractADWindowContent}
*/ */
public AbstractADWindowContent getADWindowContent() public AbstractADWindowContent getADWindowContent()
{ {

View File

@ -181,7 +181,7 @@ public class ADWindowToolbar extends ToolBar implements EventListener<Event>
/** /**
* Maintain hierarchical Quick form by its parent-child tab while open leaf * Maintain hierarchical Quick form by its parent-child tab while open leaf
* tab once & dispose and doing same action * tab once and dispose and doing same action
*/ */
private int quickFormTabHrchyLevel = 0; private int quickFormTabHrchyLevel = 0;
/** show more button for mobile client **/ /** show more button for mobile client **/
@ -859,7 +859,7 @@ public class ADWindowToolbar extends ToolBar implements EventListener<Event>
/** /**
* Turn on/off Lock button (Pressed=On, Not Pressed=Off) * Turn on/off Lock button (Pressed=On, Not Pressed=Off)
* @param enabled * @param locked
*/ */
public void lock(boolean locked) public void lock(boolean locked)
{ {
@ -1109,8 +1109,8 @@ public class ADWindowToolbar extends ToolBar implements EventListener<Event>
/** /**
* Enable/disable Process button * Enable/disable Process button
* @param enabled * @param b boolean
*/ */
public void enableProcessButton(boolean b) { public void enableProcessButton(boolean b) {
if (btnProcess != null) { if (btnProcess != null) {
btnProcess.setDisabled(!b); btnProcess.setDisabled(!b);

View File

@ -3916,7 +3916,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
/** /**
* Show process, form or info window dialog for button. * Show process, form or info window dialog for button.
* Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int)} or {@link #executionButtonInfoWindow0(IProcessButton)}. * Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int, String, Callback)} or {@link #executionButtonInfoWindow0(IProcessButton)}.
* @param wButton * @param wButton
* @param startWOasking * @param startWOasking
* @param table_ID * @param table_ID
@ -3932,7 +3932,7 @@ public abstract class AbstractADWindowContent extends AbstractUIPart implements
/** /**
* Show process, form or info window dialog for button. * Show process, form or info window dialog for button.
* Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int)} or {@link #executionButtonInfoWindow0(IProcessButton)}. * Delegate to {@link #executeButtonProcess0(IProcessButton, boolean, int, int, String, Callback)} or {@link #executionButtonInfoWindow0(IProcessButton)}.
* @param wButton * @param wButton
* @param startWOasking * @param startWOasking
* @param table_ID * @param table_ID

View File

@ -103,7 +103,7 @@ public class WDrillReport extends Window implements EventListener<Event> {
/** /**
* *
* @param data * @param data
* @param WindowNo * @param windowNo
*/ */
public WDrillReport(DrillData data, int windowNo) { public WDrillReport(DrillData data, int windowNo) {
this(data, windowNo, 0); this(data, windowNo, 0);
@ -112,7 +112,7 @@ public class WDrillReport extends Window implements EventListener<Event> {
/** /**
* *
* @param data * @param data
* @param WindowNo * @param windowNo
* @param processID * @param processID
*/ */
public WDrillReport(DrillData data, int windowNo, int processID) { public WDrillReport(DrillData data, int windowNo, int processID) {

View File

@ -183,7 +183,6 @@ public class WSQLQuery extends ADForm implements EventListener<Event>
* Process SQL Statements. * Process SQL Statements.
* *
* @param sqlStatement a single SQL statement * @param sqlStatement a single SQL statement
* @param allowDML whether to allow DML statements
* @return a string summarizing the results * @return a string summarizing the results
*/ */
public String processStatement (String sqlStatement) { public String processStatement (String sqlStatement) {

View File

@ -70,7 +70,7 @@ public class WFPopupItem extends Menuitem {
* Add Line Item * Add Line Item
* @param title title * @param title title
* @param node workflow node * @param node workflow node
* @param AD_WF_NodeTo_ID if > 0, next workflow node id. if < 0, actions to apply to node * @param AD_WF_NodeTo_ID if > 0, next workflow node id. if &lt; 0, actions to apply to node
*/ */
public WFPopupItem (String title, MWFNode node, int AD_WF_NodeTo_ID) public WFPopupItem (String title, MWFNode node, int AD_WF_NodeTo_ID)
{ {

View File

@ -50,7 +50,7 @@ public class SimpleListModel extends AbstractListModel<Object> implements Listit
/** Sort Direction. True for Ascending, False for Descrending */ /** Sort Direction. True for Ascending, False for Descrending */
private boolean _sortDir; private boolean _sortDir;
/** Max length for each column (value <= 0 means no Max length) */ /** Max length for each column (value &lt;= 0 means no Max length) */
private int[] maxLength; private int[] maxLength;
/** /**
@ -62,7 +62,7 @@ public class SimpleListModel extends AbstractListModel<Object> implements Listit
/** /**
* Create model from list * Create model from list
* @param list List<?> * @param list List&lt;?>
*/ */
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
public SimpleListModel(List<?> list) { public SimpleListModel(List<?> list) {

View File

@ -426,7 +426,8 @@ public class LoginOpenSequenceDialog extends Window
/** /**
* Move within Yes List with Drag Event and Multiple Choice * Move within Yes List with Drag Event and Multiple Choice
* *
* @param event - Event * @param endIndex
* @param selObjects
*/ */
protected void migrateValueWithinYesList(int endIndex, List<ListElement> selObjects) protected void migrateValueWithinYesList(int endIndex, List<ListElement> selObjects)
{ {

View File

@ -128,7 +128,6 @@ public abstract class AbstractDesktop extends AbstractUIPart implements IDesktop
/** /**
* @param win * @param win
* @param registered Window Number (start from 0)
*/ */
public int registerWindow(Object win) { public int registerWindow(Object win) {
List<Object> windows = getWindows(); List<Object> windows = getWindows();

View File

@ -232,7 +232,7 @@ public interface IDesktop extends UIPart {
/** /**
* update help content in help/info panel * update help content in help/info panel
* @param ctxTypes * @param ctxType
* @param recordId * @param recordId
*/ */
public void updateHelpContext(String ctxType, int recordId); public void updateHelpContext(String ctxType, int recordId);
@ -290,7 +290,7 @@ public interface IDesktop extends UIPart {
/** /**
* Set if closing tab with shortcut is allowed * Set if closing tab with shortcut is allowed
* @param isCloseTabWithShortcutAllowed * @param isCloseTabWithShortcut
*/ */
public void setCloseTabWithShortcut(boolean isCloseTabWithShortcut); public void setCloseTabWithShortcut(boolean isCloseTabWithShortcut);
} }

View File

@ -131,7 +131,6 @@ public class DateRangeEditor extends Div implements ValueChangeListener {
/** /**
* Set/Remove Mandatory Style * Set/Remove Mandatory Style
* @param applyStyle
*/ */
public void setFieldMandatoryStyle() { public void setFieldMandatoryStyle() {
if (isMandatoryStyle()) if (isMandatoryStyle())

View File

@ -43,7 +43,7 @@ import org.zkoss.zul.Panelchildren;
/** /**
* Default editor for {@link DisplayType#DashboardContent}.<br/> * Default editor for {@link DisplayType#DashboardContent}.<br/>
* A readonly editor that render dashboard content from {@link MDashboardContents} to {@link Panel} component. * A readonly editor that render dashboard content from {@link MDashboardContent} to {@link Panel} component.
* @author hengsin * @author hengsin
* *
*/ */

View File

@ -84,7 +84,6 @@ public abstract class WRecordEditor<T> extends WEditor implements ContextMenuLis
/** /**
* Constructor * Constructor
* @param div
* @param gridField * @param gridField
* @param tableEditor * @param tableEditor
* @param editorConfiguration * @param editorConfiguration
@ -364,7 +363,7 @@ public abstract class WRecordEditor<T> extends WEditor implements ContextMenuLis
/** /**
* Get Lookup * Get Lookup
* @param tableID * @param tableID
* @return null if tableID <= 0 or the table doesn't have any key column, else {@link MLookup} * @return null if tableID &lt;= 0 or the table doesn't have any key column, else {@link MLookup}
*/ */
public MLookup getRecordsLookup(int tableID) { public MLookup getRecordsLookup(int tableID) {
return getRecordsLookup(tableID, false); return getRecordsLookup(tableID, false);
@ -468,7 +467,6 @@ public abstract class WRecordEditor<T> extends WEditor implements ContextMenuLis
/** /**
* Validate selected table id value * Validate selected table id value
* @param tableIDEditor
* @param tableId * @param tableId
* @return error message or null * @return error message or null
*/ */

View File

@ -85,7 +85,7 @@ public class WTimeZoneEditor extends WEditor implements ContextMenuListener {
/** /**
* @param gridField * @param gridField
* @param rowIndex * @param tableEditor
*/ */
public WTimeZoneEditor(GridField gridField, boolean tableEditor) { public WTimeZoneEditor(GridField gridField, boolean tableEditor) {
super(new Combobox(), gridField); super(new Combobox(), gridField);

View File

@ -60,7 +60,7 @@ public class GridTabSelectionListViewRenderer implements ListitemRenderer<GridTa
/** /**
* @param listitem * @param listitem
* @param data * @param data
* @see ListitemRenderer#render(Listitem, Object) * @see ListitemRenderer#render(Listitem, Object, int)
*/ */
@Override @Override
public void render(Listitem listitem, GridTableRow data, int index) throws Exception { public void render(Listitem listitem, GridTableRow data, int index) throws Exception {

View File

@ -109,7 +109,7 @@ public class SimpleGridTableListModel extends AbstractListModel<GridTableRow> im
/** /**
* @param cmpr * @param cmpr
* @param ascending * @param ascending
* @see ListModelExt#sort(Comparator, boolean) * @see org.zkoss.zul.ListModelExt#sort(Comparator, boolean)
*/ */
@Override @Override
public void sort(Comparator<Object> cmpr, boolean ascending) { public void sort(Comparator<Object> cmpr, boolean ascending) {

View File

@ -38,7 +38,7 @@ import org.zkoss.zul.ListitemRendererExt;
/** /**
* Renderer for {@link Listbox} with single level grouping.<br/> * Renderer for {@link Listbox} with single level grouping.<br/>
* Note that due to a class hierarchy issue, this wouldn't works with {@link org.adempiere.webui.component.Listbox}.<br/> * Note that due to a class hierarchy issue, this wouldn't works with {@link org.adempiere.webui.component.Listbox}.<br/>
* Note2: not working very well with {@link Listbox#setCheckmark(true)}. Recommended to roll your own checkbox cell if you need multiple selection. * Note2: not working very well with {@link Listbox#setCheckmark(boolean) Listbox.setCheckmark(true)}. Recommended to roll your own checkbox cell if you need multiple selection.
* @author hengsin * @author hengsin
* @param <T> Common ancestor type for Group and Item class. * @param <T> Common ancestor type for Group and Item class.
*/ */

View File

@ -486,7 +486,8 @@ public class CustomizeGridViewPanel extends Panel
/** /**
* Move selected items within Yes List * Move selected items within Yes List
* @param event event * @param endIndex
* @param selObjects
*/ */
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects) protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
{ {

View File

@ -315,7 +315,8 @@ public class QuickCustomizeGridViewPanel extends Panel {
/** /**
* Move within Yes List with Drag Event and Multiple Choice * Move within Yes List with Drag Event and Multiple Choice
* *
* @param event event * @param endIndex
* @param selObjects
*/ */
protected void migrateValueWithinYesList(int endIndex, List<ListElement> selObjects) { protected void migrateValueWithinYesList(int endIndex, List<ListElement> selObjects) {
int iniIndex = 0; int iniIndex = 0;

View File

@ -171,7 +171,8 @@ public class WRC2FieldOrderPanel extends WRCTabPanel implements EventListener<Ev
/** /**
* Move selected items within Yes List * Move selected items within Yes List
* @param event event * @param endIndex
* @param selObjects
*/ */
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects) protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
{ {

View File

@ -389,7 +389,8 @@ public class WRC3SortCriteriaPanel extends WRCTabPanel implements EventListener
/** /**
* Move selected items within Yes List * Move selected items within Yes List
* @param event event * @param endIndex
* @param selObjects
*/ */
protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects) protected void migrateValueWithinYesList (int endIndex, List<ListElement> selObjects)
{ {

View File

@ -514,7 +514,6 @@ public final class Dialog {
* @param adMessage * @param adMessage
* @param adMessageArgs * @param adMessageArgs
* @param title * @param title
* @param correctInput
* @param callback * @param callback
*/ */
public static void askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, final Callback<Map.Entry<Boolean, String>> callback) { public static void askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, final Callback<Map.Entry<Boolean, String>> callback) {

View File

@ -438,7 +438,6 @@ public class FDialog
* @param adMessage * @param adMessage
* @param adMessageArgs * @param adMessageArgs
* @param title * @param title
* @param correctInput
* @param callback * @param callback
*/ */
public static void askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, final Callback<Map.Entry<Boolean, String>> callback) public static void askForInputTextConfirmation(int windowNo, WEditor weditor, String adMessage, Object[] adMessageArgs, String title, final Callback<Map.Entry<Boolean, String>> callback)

View File

@ -956,7 +956,6 @@ public class WPAttributeDialog extends Window implements EventListener<Event>
/** /**
* Instance Selection Button * Instance Selection Button
* @return true if selected
*/ */
protected void cmd_select() protected void cmd_select()
{ {

View File

@ -147,8 +147,8 @@ public class Archive {
* @param description archive description filter * @param description archive description filter
* @param help archive help filter * @param help archive help filter
* @param createdBy CreatedBy filter * @param createdBy CreatedBy filter
* @param createdFrom Created >= createdFrom * @param createdFrom Created &gt;= createdFrom
* @param createdTo Created <= createdTo * @param createdTo Created &lt;= createdTo
*/ */
public void cmd_query(boolean reports, KeyNamePair process, KeyNamePair table, Integer C_BPartner_ID, public void cmd_query(boolean reports, KeyNamePair process, KeyNamePair table, Integer C_BPartner_ID,
String name, String description, String help, KeyNamePair createdBy, String name, String description, String help, KeyNamePair createdBy,

View File

@ -75,7 +75,6 @@ public class Match
/** /**
* Match From Changed - Fill Match To * Match From Changed - Fill Match To
* @param selection match from * @param selection match from
* @param list of match to option
*/ */
protected Vector<String> cmd_matchFrom(String selection) protected Vector<String> cmd_matchFrom(String selection)
{ {

View File

@ -43,7 +43,7 @@ public class TableColumn
/** /**
* Cover method, using a default width of 75 * Cover method, using a default width of 75
* @see #WTableColumn(int) * @see @WTableColumn(int)
*/ */
public TableColumn() { public TableColumn() {
headerValue = null; headerValue = null;

View File

@ -370,7 +370,8 @@ public class DrillReportCtl {
/** /**
* Launch Report * Launch Report
* @param pf print format * @param ad_PrintFormat_ID print format
* @param tableName
*/ */
public void launchTableDrillReport (int ad_PrintFormat_ID, String tableName) public void launchTableDrillReport (int ad_PrintFormat_ID, String tableName)
{ {
@ -474,7 +475,8 @@ public class DrillReportCtl {
/** /**
* Fill Parameter * Fill Parameter
* @param pInstance process instance * @param pi process info
* @param processDrillRule
*/ */
protected void fillParameter(ProcessInfo pi, MProcessDrillRule processDrillRule) protected void fillParameter(ProcessInfo pi, MProcessDrillRule processDrillRule)
{ {