Skip to content

Commit

Permalink
Use a primitive boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
tspring committed Sep 21, 2020
1 parent 162e732 commit c224d2a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void addCustomParameter(String key, String value) {
}

@Override
public void addCustomParameter(String key, Boolean value) {
public void addCustomParameter(String key, boolean value) {

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public interface PublicApi {
* @param key Custom parameter key.
* @param value Custom parameter value.
*/
void addCustomParameter(String key, Boolean value);
void addCustomParameter(String key, boolean value);

/**
* Add key/value pairs to the current transaction. These are reported in errors and transaction traces.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public static void noticeError(String message, boolean expected) {
* Add a key/value pair to the current transaction. These are reported in errors and transaction traces.
*
* @param key Custom parameter key.
* @param value Custom parameter value. @
* @param value Custom parameter value.
*/
public static void addCustomParameter(String key, Number value) {
AgentBridge.publicApi.addCustomParameter(key, value);
Expand All @@ -193,7 +193,7 @@ public static void addCustomParameter(String key, Number value) {
* Add a key/value pair to the current transaction. These are reported in errors and transaction traces.
*
* @param key Custom parameter key.
* @param value Custom parameter value. @
* @param value Custom parameter value.
*/
public static void addCustomParameter(String key, String value) {
AgentBridge.publicApi.addCustomParameter(key, value);
Expand All @@ -203,9 +203,9 @@ public static void addCustomParameter(String key, String value) {
* Add a key/value pair to the current transaction. These are reported in errors and transaction traces.
*
* @param key Custom parameter key.
* @param value Custom parameter value. @
* @param value Custom parameter value.
*/
public static void addCustomParameter(String key, Boolean value) {
public static void addCustomParameter(String key, boolean value) {
AgentBridge.publicApi.addCustomParameter(key, value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ private static int getNumberOfErrorAttsLeft() {
* Add a key/value pair to the current transaction. These are reported in errors and transaction traces.
*
* @param key
* @param value @
* @param value
*/
@Override
public void addCustomParameter(String key, String value) {
Expand All @@ -230,7 +230,7 @@ public void addCustomParameter(String key, String value) {
* Add a key/value pair to the current transaction. These are reported in errors and transaction traces.
*
* @param key
* @param value @
* @param value
*/
@Override
public void addCustomParameter(String key, Number value) {
Expand All @@ -241,10 +241,10 @@ public void addCustomParameter(String key, Number value) {
* Add a key/value pair to the current transaction. These are reported in errors and transaction traces.
*
* @param key
* @param value @
* @param value
*/
@Override
public void addCustomParameter(String key, Boolean value) {
public void addCustomParameter(String key, boolean value) {
attributeSender.addAttribute(key, value, "addCustomParameter");
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public static void addCustomParameter(String key, String value) {
* @param value Custom parameter value.
* @since 6.1.0
*/
public static void addCustomParameter(String key, Boolean value) {
public static void addCustomParameter(String key, boolean value) {
}

/**
Expand Down

0 comments on commit c224d2a

Please sign in to comment.