Replace 'via' with 'over' or 'through' in the documentation
Closes gh-33878
This commit is contained in:
@@ -507,7 +507,7 @@ public class JSONObject {
|
||||
/**
|
||||
* Returns the value mapped by {@code name} if it exists and is a long or can be
|
||||
* coerced to a long. Note that JSON represents numbers as doubles, so this is
|
||||
* <a href="#lossy">lossy</a>; use strings to transfer numbers via JSON.
|
||||
* <a href="#lossy">lossy</a>; use strings to transfer numbers over JSON.
|
||||
* @param name the name of the property
|
||||
* @return the value
|
||||
* @throws JSONException if the mapping doesn't exist or cannot be coerced to a long.
|
||||
@@ -537,7 +537,7 @@ public class JSONObject {
|
||||
* Returns the value mapped by {@code name} if it exists and is a long or can be
|
||||
* coerced to a long. Returns {@code fallback} otherwise. Note that JSON represents
|
||||
* numbers as doubles, so this is <a href="#lossy">lossy</a>; use strings to transfer
|
||||
* numbers via JSON.
|
||||
* numbers over JSON.
|
||||
* @param name the name of the property
|
||||
* @param fallback a fallback value
|
||||
* @return the value or {@code fallback}
|
||||
|
||||
@@ -43,8 +43,8 @@ public class ImmutableSimpleProperties {
|
||||
// An interface can still be injected because it might have a converter
|
||||
private final Comparator<?> comparator;
|
||||
|
||||
// Even if it is not exposed, we're still offering a way to bind the value via the
|
||||
// constructor so it should be present in the metadata
|
||||
// Even if it is not exposed, we're still offering a way to bind the value through the
|
||||
// constructor, so it should be present in the metadata
|
||||
@SuppressWarnings("unused")
|
||||
private final Long counter;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user