From f8ed9f9c38d2fe05df0e4265a92fbd3520ddcd5a Mon Sep 17 00:00:00 2001 From: Christian Tzolov Date: Wed, 5 Aug 2020 15:18:25 +0200 Subject: [PATCH] Remove double quotes in the properties comments --- .../consumer/wavefront/WavefrontConsumerProperties.java | 8 ++++---- .../fn/twitter/geo/TwitterGeoFunctionProperties.java | 6 +++--- .../cloud/fn/supplier/http/HttpSupplierProperties.java | 2 +- .../friendships/TwitterFriendshipsSupplierProperties.java | 2 +- .../status/search/TwitterSearchSupplierProperties.java | 2 +- .../status/stream/TwitterStreamSupplierProperties.java | 6 +++--- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/consumer/wavefront-consumer/src/main/java/org/springframework/cloud/fn/consumer/wavefront/WavefrontConsumerProperties.java b/consumer/wavefront-consumer/src/main/java/org/springframework/cloud/fn/consumer/wavefront/WavefrontConsumerProperties.java index 3d33c039..b6394496 100644 --- a/consumer/wavefront-consumer/src/main/java/org/springframework/cloud/fn/consumer/wavefront/WavefrontConsumerProperties.java +++ b/consumer/wavefront-consumer/src/main/java/org/springframework/cloud/fn/consumer/wavefront/WavefrontConsumerProperties.java @@ -60,11 +60,11 @@ public class WavefrontConsumerProperties { /** * Collection of custom metadata associated with the metric.Point tags cannot be empty. - * Valid characters for keys: alphanumeric, hyphen ("-"), underscore ("_"), dot ("."). - * For values any character is allowed, including spaces. To include a double quote, escape it with a backslash, for - * example, \". A backslash cannot be the last character in the tag value. + * Valid characters for keys: alphanumeric, hyphen ('-'), underscore ('_'), dot ('.'). + * For values any character is allowed, including spaces. To include a double quote, escape it with a backslash, + * A backslash cannot be the last character in the tag value. * Maximum allowed length for a combination of a point tag key and value is 254 characters - * (255 including the "=" separating key and value). + * (255 including the '=' separating key and value). * If the value is longer, the point is rejected and logged */ private Map tagExpression; diff --git a/function/twitter-function/src/main/java/org/springframework/cloud/fn/twitter/geo/TwitterGeoFunctionProperties.java b/function/twitter-function/src/main/java/org/springframework/cloud/fn/twitter/geo/TwitterGeoFunctionProperties.java index 822cc398..cf073cf9 100644 --- a/function/twitter-function/src/main/java/org/springframework/cloud/fn/twitter/geo/TwitterGeoFunctionProperties.java +++ b/function/twitter-function/src/main/java/org/springframework/cloud/fn/twitter/geo/TwitterGeoFunctionProperties.java @@ -57,12 +57,12 @@ public class TwitterGeoFunctionProperties { /** * Hints for the number of results to return. This does not guarantee that the number of results - * returned will equal max_results, but instead informs how many "nearby" results to return. + * returned will equal max_results, but instead informs how many 'nearby' results to return. */ private int maxResults = -1; /** - * Sets a hint on the "region" in which to search. If a number, then this is a radius in meters, but it + * Sets a hint on the 'region' in which to search. If a number, then this is a radius in meters, but it * can also take a string that is suffixed with ft to specify feet. If this is not passed in, then it is * assumed to be 0m. If coming from a device, in practice, this value is whatever accuracy the device * has measuring its location (whether it be coming from a GPS, WiFi triangulation, etc.). @@ -139,7 +139,7 @@ public class TwitterGeoFunctionProperties { public static class Search { /** * An IP address. Used when attempting to fix geolocation based off of the user's IP address. - * Applicable only for "search" geo type. + * Applicable only for 'search' geo type. */ private Expression ip = null; diff --git a/supplier/http-supplier/src/main/java/org/springframework/cloud/fn/supplier/http/HttpSupplierProperties.java b/supplier/http-supplier/src/main/java/org/springframework/cloud/fn/supplier/http/HttpSupplierProperties.java index 242c5ab2..35c7ee54 100644 --- a/supplier/http-supplier/src/main/java/org/springframework/cloud/fn/supplier/http/HttpSupplierProperties.java +++ b/supplier/http-supplier/src/main/java/org/springframework/cloud/fn/supplier/http/HttpSupplierProperties.java @@ -75,7 +75,7 @@ public class HttpSupplierProperties { public static class Cors { /** - * List of allowed origins, e.g. "https://domain1.com". + * List of allowed origins, e.g. https://domain1.com. */ private String[] allowedOrigins = {CorsConfiguration.ALL}; diff --git a/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/friendships/TwitterFriendshipsSupplierProperties.java b/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/friendships/TwitterFriendshipsSupplierProperties.java index 08c2db93..fb0ed559 100644 --- a/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/friendships/TwitterFriendshipsSupplierProperties.java +++ b/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/friendships/TwitterFriendshipsSupplierProperties.java @@ -66,7 +66,7 @@ public class TwitterFriendshipsSupplierProperties { private boolean skipStatus = false; /** - * The user object entities node will be disincluded when set to false. + * The user object entities node will be included when set to false. */ private boolean includeUserEntities = true; diff --git a/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/search/TwitterSearchSupplierProperties.java b/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/search/TwitterSearchSupplierProperties.java index b8b6bfdf..5013acf9 100644 --- a/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/search/TwitterSearchSupplierProperties.java +++ b/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/search/TwitterSearchSupplierProperties.java @@ -57,7 +57,7 @@ public class TwitterSearchSupplierProperties { private int count = 100; /** - * Restricts searched tweets to the given language, given by an ISO 639-1 code. + * Restricts searched tweets to the given language, given by an http://en.wikipedia.org/wiki/ISO_639-1 */ private String lang = null; diff --git a/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/stream/TwitterStreamSupplierProperties.java b/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/stream/TwitterStreamSupplierProperties.java index 7c737641..6de5b11e 100644 --- a/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/stream/TwitterStreamSupplierProperties.java +++ b/supplier/twitter-supplier/src/main/java/org/springframework/cloud/fn/supplier/twitter/status/stream/TwitterStreamSupplierProperties.java @@ -42,9 +42,9 @@ public class TwitterStreamSupplierProperties { * clients to use a single connection to the Streaming API. Placing long parameters in the URL may cause the * request to be rejected for excessive URL length.
* The default access level allows up to 200 track keywords, 400 follow userids and 10 1-degree location boxes. - * Increased access levels allow 80,000 follow userids ("shadow" role), 400,000 follow userids ("birddog" role), - * 10,000 track keywords ("restricted track" role), 200,000 track keywords ("partner track" role), - * and 200 10-degree location boxes ("locRestricted" role). Increased track access levels also pass a higher + * Increased access levels allow 80,000 follow userids ('shadow' role), 400,000 follow userids ('birddog' role), + * 10,000 track keywords ('restricted track' role), 200,000 track keywords ('partner track' role), + * and 200 10-degree location boxes ('locRestricted' role). Increased track access levels also pass a higher * proportion of statuses before limiting the stream.*/ filter,