Skip to content

Commit f379c32

Browse files
committed
make javadocs plugin happy
1 parent 2f8140e commit f379c32

5 files changed

Lines changed: 6 additions & 9 deletions

File tree

sentry-android/src/main/java/io/sentry/android/event/helper/AndroidEventBuilderHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ protected static PackageInfo getPackageInfo(Context ctx) {
194194

195195
/**
196196
* Fake the device family by using the first word in the Build.MODEL. Works
197-
* well in most cases... "Nexus 6P" -> "Nexus", "Galaxy S7" -> "Galaxy".
197+
* well in most cases... "Nexus 6P" - "Nexus", "Galaxy S7" - "Galaxy".
198198
*
199199
* @return family name of the device, as best we can tell
200200
*/

sentry/src/main/java/io/sentry/Sentry.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,11 @@ public static SentryClient init(@Nullable String dsn, @Nullable SentryClientFact
115115
/**
116116
* Initializes a new Sentry client from the provided context.
117117
*
118-
* <p>The canonical way of using this method is:
119-
* <p></p>
120-
* <pre>
118+
* The canonical way of using this method is:
121119
* {@link Lookup} lookup = ... obtain or construct the instance of this class to be able to locate Sentry config
122120
* String dsn = ... obtain the Sentry data source name or leave null for lookup in the configuration
123121
* SentryClient client =
124122
* Sentry.init({@link SentryOptions}.{@link SentryOptions#from(Lookup, String) from(lookup, dsn))};
125-
* </pre>
126123
* If you want to rely on the default mechanisms to obtain the configuration, you can also use the
127124
* {@link SentryOptions#defaults()} method which will use the default way of obtaining the configuration and DSN
128125
* obtained from the configuration.

sentry/src/main/java/io/sentry/connection/HttpConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ protected void doSend(Event event) throws ConnectionException {
177177
// CHECKSTYLE.OFF: EmptyCatchBlock
178178
try {
179179
// CHECKSTYLE.OFF: MagicNumber
180-
retryAfterMs = (long) (Double.parseDouble(retryAfterHeader) * 1000L); // seconds -> milliseconds
180+
retryAfterMs = (long) (Double.parseDouble(retryAfterHeader) * 1000L); // seconds to milliseconds
181181
// CHECKSTYLE.ON: MagicNumber
182182
} catch (NumberFormatException nfe) {
183183
// noop, use default retry

sentry/src/main/java/io/sentry/event/BreadcrumbBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public BreadcrumbBuilder setData(Map<String, String> newData) {
8585
}
8686

8787
/**
88-
* Adds to the related data for the {@link breadcrumb}.
88+
* Adds to the related data.
8989
*
9090
* @param name Name of the data
9191
* @param value Value of the data

sentry/src/main/java/io/sentry/jvmti/Frame.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ public Method getMethod() {
3535
}
3636

3737
/**
38-
* Converts the locals array to a Map of variable-name -> variable-value.
38+
* Converts the locals array to a Map of variable-name - variable-value.
3939
*
40-
* @return Map of variable-name -> variable-value.
40+
* @return Map of variable-name - variable-value.
4141
*/
4242
public Map<String, Object> getLocals() {
4343
if (locals == null || locals.length == 0) {

0 commit comments

Comments
 (0)