Skip to content

Commit

Permalink
Address feedback and improve formatting of Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
guperrot committed Oct 4, 2018
1 parent a9553cb commit bce84e0
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ protected static void trackPage(String name, Map<String, String> properties) {
* Additional validation rules apply depending on the configured secret.
* <p>
* For AppCenter, the name cannot be longer than 256 and is truncated otherwise.
* For OneCollector, the name needs to match the [a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99} regular expression.
* For OneCollector, the name needs to match the <tt>[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}</tt> regular expression.
*
* @param name An event name.
*/
Expand Down Expand Up @@ -300,9 +300,9 @@ public static void trackEvent(String name) {
* <p>
* For OneCollector:
* <ul>
* <li>The event name needs to match the [a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99} regular expression.</li>
* <li>The baseData and baseDataType properties are reserved and thus discarded.</li>
* <li>The full event size when encoded in JSON cannot be larger than 1.9MB.</li>
* <li>The event name needs to match the <tt>[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}</tt> regular expression.</li>
* <li>The <tt>baseData</tt> and <tt>baseDataType</tt> properties are reserved and thus discarded.</li>
* <li>The full event size when encoded as a JSON string cannot be larger than 1.9MB.</li>
* </ul>
*
* @param name An event name.
Expand Down Expand Up @@ -334,9 +334,9 @@ public static void trackEvent(String name, Map<String, String> properties) {
* <p>
* For OneCollector:
* <ul>
* <li>The event name needs to match the [a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99} regular expression.</li>
* <li>The baseData and baseDataType properties are reserved and thus discarded.</li>
* <li>The full event size when encoded in JSON cannot be larger than 1.9MB.</li>
* <li>The event name needs to match the <tt>[a-zA-Z0-9]((\.(?!(\.|$)))|[_a-zA-Z0-9]){3,99}</tt> regular expression.</li>
* <li>The <tt>baseData</tt> and <tt>baseDataType</tt> properties are reserved and thus discarded.</li>
* <li>The full event size when encoded as a JSON string cannot be larger than 1.9MB.</li>
* </ul>
*
* @param name An event name.
Expand Down

0 comments on commit bce84e0

Please sign in to comment.