diff --git a/applications/accounting/src/main/java/org/apache/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java b/applications/accounting/src/main/java/org/apache/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java index 77dade2765..6b6d62bf8c 100644 --- a/applications/accounting/src/main/java/org/apache/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java +++ b/applications/accounting/src/main/java/org/apache/ofbiz/accounting/thirdparty/valuelink/ValueLinkApi.java @@ -68,7 +68,7 @@ import org.apache.ofbiz.entity.GenericValue; import org.apache.ofbiz.entity.util.EntityQuery; /** - * ValueLinkApi - Implementation of ValueLink Encryption & Transport + * ValueLinkApi - Implementation of ValueLink Encryption and Transport */ public class ValueLinkApi { diff --git a/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/mrp/MrpServices.java b/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/mrp/MrpServices.java index 0e1f5e1748..c1415c259f 100644 --- a/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/mrp/MrpServices.java +++ b/applications/manufacturing/src/main/java/org/apache/ofbiz/manufacturing/mrp/MrpServices.java @@ -499,8 +499,10 @@ public class MrpServices { /** * Find the quantity on hand of products for MRP. + *
Create or update package lines.
- *Context parameters: + * Context parameters: *
Delivers all the packing lines grouped by package.
- *Output map: + * Output map: *
Each Observer has its update method called with two
* arguments: this observable object and null. In other
* words, this method is equivalent to:
- *
- * notifyObservers(null)+ * + *
+ * notifyObservers(null) + ** */ public void notifyObservers() { diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptHelper.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptHelper.java index e33296f3ad..859761574c 100644 --- a/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptHelper.java +++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/ScriptHelper.java @@ -24,11 +24,14 @@ import java.util.Map; import javax.script.ScriptException; /** - * A script helper object. The OFBiz scripting framework will include an instance of this class in the script's bindings. - *
The scripting language will determine how the helper is used. Most languages will access it as a variable:
- * partyValue = ofbiz.findOne("Party");
- * while other languages might access it as a native method or function:
- * partyValue = findOne("Party");
The scripting language will determine how the helper is used. Most
+ * languages will access it as a variable:
+ * partyValue = ofbiz.findOne("Party");
+ * while other languages might access it as a native method or function:
+ * partyValue = findOne("Party");
+ *
OFBiz script syntax provides special forms of common operators to make - * it easier to embed logical expressions in XML: + * it easier to embed logical expressions in XML
*| @and | && |
| @or | || |
| @gt | > |
| @gteq | >= |
| @lt | < |
| @lteq | <= |
String to convert
* @return The converted String
*/
diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
index 64d35e49ec..65bee317fb 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilCodec.java
@@ -237,7 +237,10 @@ public class UtilCodec {
/**
* Uses a black-list approach for necessary characters for HTML.
- * Does not allow various characters (after canonicalization), including "<", ">", "&" (if not followed by a space), and "%" (if not followed by a space).
+ *
+ * Does not allow various characters (after canonicalization), including
+ * "<", ">", "&" (if not followed by a space), and "%" (if not
+ * followed by a space).
*
* @param value
* @param errorMessageList
diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilFormatOut.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilFormatOut.java
index 7d55c7a4d7..3d5464f26b 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilFormatOut.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilFormatOut.java
@@ -474,7 +474,10 @@ public final class UtilFormatOut {
}
// ------------------- web encode handlers -------------------
- /** Encodes an HTTP URL query String, replacing characters used for other things in HTTP URL query strings, but not touching the separator characters '?', '=', and '&'
+ /**
+ * Encodes an HTTP URL query String, replacing characters used for other
+ * things in HTTP URL query strings, but not touching the separator
+ * characters '?', '=', and '&'
* @param query The plain query String
* @return The encoded String
*/
@@ -527,7 +530,8 @@ public final class UtilFormatOut {
}
// ------------------- web encode handlers -------------------
- /** Encodes an XML string replacing the characters '<', '>', '"', ''', '&'
+ /**
+ * Encodes an XML string replacing the characters '<', '>', '"', ''', '&'
* @param inString The plain value String
* @return The encoded String
*/
diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
index dad3283fce..65e086a7ef 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilHttp.java
@@ -1216,9 +1216,13 @@ public final class UtilHttp {
* the composite according to compositeType. For example, consider the following
* form widget field,
*
- *
+ * {@code
+ *
This method uses the following strategy:
+ /**
+ * Resolve a properties file URL.
+ *
This method uses the following strategy:
*resource (MyProps.xml)resource and ends with the locale's string and
- * .xml (MyProps_en.xml)resource and ends with the locale's string and
- * .properties (MyProps_en.properties)resource and ends with the locale's string (MyProps_en)resource (MyProps.xml)resource and ends with the locale's string and
+ * .xml (MyProps_en.xml)
+ * resource and ends with the locale's string and
+ * .properties (MyProps_en.properties)
+ * resource and ends with the locale's string (MyProps_en)
+ * component:// protocol is supported in the
* resource parameter.
- *
*
* @param resource The resource to resolve
* @param locale The desired locale
@@ -961,22 +964,25 @@ public final class UtilProperties implements Serializable {
return null;
}
- /** Convert XML property file to Properties instance. This method will convert
+ /**
+ * Convert XML property file to Properties instance. This method will convert
* both the Java XML properties file format and the OFBiz custom XML
* properties file format.
- *
- * The format of the custom XML properties file is:
- *
- *
- * <resource> where "locale 1", "locale 2" are valid xml:lang values..
- *
- * <property key="key">
- * <value xml:lang="locale 1">Some value</value>
- * <value xml:lang="locale 2">Some value</value>
- * ...
- * </property>
- * ...
- * </resource>
The format of the custom XML properties file is:
+ *
+ * {@code
+ *
+ *
+ * Some value
+ * Some value
+ * ...
+ *
+ * ...
+ *
+ * }
+ *
+ * where "locale 1", "locale 2" are valid xml:lang values..
*
* @param in XML file InputStream
* @param locale The desired locale
diff --git a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java
index a0cb744ce0..3cf57a85b3 100644
--- a/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java
+++ b/framework/base/src/main/java/org/apache/ofbiz/base/util/UtilValidate.java
@@ -32,33 +32,33 @@ import com.ibm.icu.util.Calendar;
* Utility methods for validating data, especially input.
* See detailed description below.
*
- * + * <property name="ssl-accelerator-port" value="8443"/> + *
*
* Once that is done just setup a connector just like the example http-connector and have it listen on the port you set in the ssl-accelerator-port value.
*/
diff --git a/framework/common/src/main/java/org/apache/ofbiz/common/authentication/AuthenticationComparator.java b/framework/common/src/main/java/org/apache/ofbiz/common/authentication/AuthenticationComparator.java
index d73a78ffe6..d060732408 100644
--- a/framework/common/src/main/java/org/apache/ofbiz/common/authentication/AuthenticationComparator.java
+++ b/framework/common/src/main/java/org/apache/ofbiz/common/authentication/AuthenticationComparator.java
@@ -34,20 +34,22 @@ public class AuthenticationComparator implements Comparator
- *
* The implementor must ensure that sgn(compare(x, y)) ==
* -sgn(compare(y, x)) for all x and y. (This
* implies that compare(x, y) must throw an exception if and only
* if compare(y, x) throws an exception.)
- *
* The implementor must also ensure that the relation is transitive: * ((compare(x, y)>0) && (compare(y, z)>0)) implies * compare(x, z)>0.
- *
+ * + ** Finally, the implementer must ensure that compare(x, y)==0 * implies that sgn(compare(x, z))==sgn(compare(y, z)) for all - * z.
- *
+ * z. + * * It is generally the case, but not strictly required that * (compare(x, y)==0) == (x.equals(y)). Generally speaking, * any comparator that violates this condition should clearly indicate diff --git a/framework/common/src/main/java/org/apache/ofbiz/common/email/NotificationServices.java b/framework/common/src/main/java/org/apache/ofbiz/common/email/NotificationServices.java index 935dc76efd..3661bdbb62 100644 --- a/framework/common/src/main/java/org/apache/ofbiz/common/email/NotificationServices.java +++ b/framework/common/src/main/java/org/apache/ofbiz/common/email/NotificationServices.java @@ -44,40 +44,43 @@ import org.apache.ofbiz.webapp.WebAppUtil; import freemarker.template.TemplateException; /** - * Provides generic services related to preparing and - * delivering notifications via email. + * Provides generic services related to preparing and delivering notifications + * via email. ** To use the NotificationService, a message specific service should be - * defined for a particular - * Freemarker Template mapping the required fields of the - * template to the required attributes of the service. + * defined for a particular + * + * Freemarker Template mapping the required fields of the template to the + * required attributes of the service. + *
*
- * This service definition should extend the
- * sendNotificationInterface
+ * This service definition should extend the sendNotificationInterface
* or the prepareNotificationInterface service interface
* and simply invoke the associated method defined in this class.
- *
+ *
- * <service name="sendPoPickupNotification" engine="java"
- * location="org.apache.ofbiz.content.email.NotificationServices" invoke="sendNotification">
- * <description>Sends notification based on a message template</description>
- * <implements service="sendNotificationInterface"/>
- * <attribute name="orderId" type="String" mode="IN" optional="false"/>
- * </service>
+ * {@code
+ *
+ * Sends notification based on a message template
+ *
+ *
+ *
+ * }
*
- *
- *
- * An optional parameter available to all message templates is baseUrl
- * which can either be specified when the service is invoked or let the
- * NotificationService attempt to resolve it as best it can,
- * see {@link #setBaseUrl(Delegator, String, Map) setBaseUrl(Map)} for details on how this is achieved.
*
+ * An optional parameter available to all message templates is
+ * baseUrl which can either be specified when the service is
+ * invoked or let the NotificationService attempt to resolve it
+ * as best it can, see {@link #setBaseUrl(Delegator, String, Map) setBaseUrl(Map)}
+ * for details on how this is achieved.
+ *
*
* Please use the following link to schedule a delivery date:
- * <p>
* ${baseUrl}/ordermgr/control/schedulepo?orderId=${orderId}"
*
*
@@ -85,6 +88,7 @@ import freemarker.template.TemplateException;
* The template file must be found on the classpath at runtime and
* match the "templateName" field passed to the service when it
* is invoked.
+ *
* * For complex messages with a large number of dynamic fields, it may be wise * to implement a custom service that takes one or two parameters that can @@ -92,7 +96,7 @@ import freemarker.template.TemplateException; * the {@link #prepareNotification(DispatchContext, Map) prepareNotification(DispatchContext, Map)} * or {@link #sendNotification(DispatchContext, Map) sendNotification(DispatchContext, Map)} * methods directly to generate or generate and send the notification respectively. - * + *
*/ public class NotificationServices { diff --git a/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java b/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java index 1b9c8c8115..5c4cfe5d15 100644 --- a/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java +++ b/framework/minilang/src/main/java/org/apache/ofbiz/minilang/SimpleMethod.java @@ -76,7 +76,7 @@ import org.w3c.dom.Element; *