Commit 48a67f54 authored by Stefan Huehner's avatar Stefan Huehner
Browse files

Fixes ISSUE-45904. Fix some javadoc syntax error which trigger warnings

Upcoming JDK17 is slightly stricter with checking javadoc syntax.
This fixes the few cases which were raised a warnings:
- Quote & as & as per html syntax
- Remove some @param tags where that parameter does not exist
- Do not use @link for external html links (as it is only for linking to
  other elements (use @See tag instead).
parent a1e6805f
......@@ -139,7 +139,7 @@ public abstract class PgFullTextSearchFunction implements SQLFunction {
/**
* Gets rank normalization from a preference, it needs to be an integer. According to Postgresql
* documentation {@link "https://www.postgresql.org/docs/current/textsearch-controls.html"}
* documentation.
* <p>
* Since a longer document has a greater chance of containing a query term it is reasonable to
* take into account document size, e.g., a hundred-word document with five instances of a
......@@ -160,6 +160,8 @@ public abstract class PgFullTextSearchFunction implements SQLFunction {
* </ul>
* <p>
*
* @see <a href= "https://www.postgresql.org/docs/current/textsearch-controls.html">PostgreSQL
* Controlling Text Search</a>
* @return numLike String
*/
protected String getRankNormalizationPref() {
......
......@@ -479,7 +479,7 @@ public class OBBaseTest {
OBContext.setOBContext(TEST_USER_ID, TEST_ROLE_ID, TEST_CLIENT_ID, TEST_ORG_ID);
}
/** Sets the current user to the 100 user as F&B Group Admin */
/** Sets the current user to the 100 user as F&amp;B Group Admin */
protected void setTestAdminContext() {
OBContext.setOBContext(Users.OPENBRAVO, Roles.FB_GRP_ADMIN, Clients.FB_GRP, Orgs.MAIN);
}
......
......@@ -24,8 +24,8 @@ import org.openbravo.test.base.OBBaseTest;
public class ADOrgPersistInfoSetReadyTest extends OBBaseTest {
/**
* Create a new Organization of type Generic under F&B España, S.A Organization and test persist
* organization info after the organization is set as ready with Cascade No.
* Create a new Organization of type Generic under F&amp;B España, S.A Organization and test
* persist organization info after the organization is set as ready with Cascade No.
*/
@Test
public void testSetReadyOneGenericOrganizationNoCascade() {
......@@ -33,8 +33,8 @@ public class ADOrgPersistInfoSetReadyTest extends OBBaseTest {
}
/**
* Create a new Organization of type Generic under F&B España, S.A Organization and test persist
* organization info after the organization is set as ready with Cascade Yes.
* Create a new Organization of type Generic under F&amp;B España, S.A Organization and test
* persist organization info after the organization is set as ready with Cascade Yes.
*/
@Test
public void testSetReadyOneGenericOrganizationCascade() {
......@@ -68,9 +68,9 @@ public class ADOrgPersistInfoSetReadyTest extends OBBaseTest {
}
/**
* Create a new Organization of type Generic under F&B España, S.A Organization and a child under
* it and test persist organization info after the organization is set as ready with cascade as
* No.
* Create a new Organization of type Generic under F&amp;B España, S.A Organization and a child
* under it and test persist organization info after the organization is set as ready with cascade
* as No.
*/
@Test
public void testSetReadyTwoGenericOrganizationNoCascade() {
......@@ -88,9 +88,9 @@ public class ADOrgPersistInfoSetReadyTest extends OBBaseTest {
}
/**
* Create a new Organization of type Generic under F&B España, S.A Organization and a child under
* it and test persist organization info after the organization is set as ready with cascade as
* Yes.
* Create a new Organization of type Generic under F&amp;B España, S.A Organization and a child
* under it and test persist organization info after the organization is set as ready with cascade
* as Yes.
*/
@Test
public void testSetReadyTwoGenericOrganizationCascade() {
......
......@@ -216,10 +216,6 @@ public abstract class CostingAlgorithmAdjustmentImp {
/**
* Inserts a new cost adjustment line
*
* @param trx
* Material transaction
* @param adjustmentamt
* Adjustment amount
* @param parentLine
* Cost Adjustment Line
*
......
......@@ -167,7 +167,7 @@ public class EmailInfo {
/**
* Generates a EmailInfo instance initialized with all fields set using the set* methods.
* Otherwise they will be initialized as null or as an empty array for the List<> fields.
* Otherwise they will be initialized as null or as an empty array for the List fields.
*
* @return a new EmailInfo instance
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment