Skip to content

Commit 86eafb0

Browse files
committed
Format
1 parent b252f33 commit 86eafb0

File tree

2 files changed

+4
-13
lines changed

2 files changed

+4
-13
lines changed

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/CommonUtils.java

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,7 @@ enum Architecture {
114114
matcher.put("x86", X86_32);
115115
}
116116

117-
/**
118-
* @Return {@link CommonUtils.Architecture} enum based on @param String
119-
*/
117+
/** @Return {@link CommonUtils.Architecture} enum based on @param String */
120118
static Architecture getValue() {
121119
String arch = Build.CPU_ABI;
122120

@@ -272,9 +270,7 @@ public static boolean getProximitySensorEnabled(Context context) {
272270
}
273271
}
274272

275-
/**
276-
* @deprecated This method will now always return false. It should not be used.
277-
*/
273+
/** @deprecated This method will now always return false. It should not be used. */
278274
@Deprecated
279275
public static boolean isLoggingEnabled(Context context) {
280276
return false;
@@ -558,9 +554,7 @@ public static void closeQuietly(Closeable closeable) {
558554
}
559555
}
560556

561-
/**
562-
* @return if the given permission is granted
563-
*/
557+
/** @return if the given permission is granted */
564558
public static boolean checkPermission(Context context, String permission) {
565559
final int res = context.checkCallingOrSelfPermission(permission);
566560
return (res == PackageManager.PERMISSION_GRANTED);
@@ -584,9 +578,7 @@ public static boolean canTryConnection(Context context) {
584578
}
585579
}
586580

587-
/**
588-
* @return true if s1.equals(s2), or if both are null.
589-
*/
581+
/** @return true if s1.equals(s2), or if both are null. */
590582
public static boolean nullSafeEquals(@Nullable String s1, @Nullable String s2) {
591583
// :TODO: replace calls to this method with Objects.equals(...) when minSdkVersion is 19+
592584
if (s1 == null) {

firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common/CrashlyticsReportDataCapture.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import android.os.StatFs;
2424
import android.text.TextUtils;
2525
import com.google.firebase.crashlytics.BuildConfig;
26-
import com.google.firebase.crashlytics.internal.Logger;
2726
import com.google.firebase.crashlytics.internal.model.CrashlyticsReport;
2827
import com.google.firebase.crashlytics.internal.model.CrashlyticsReport.Architecture;
2928
import com.google.firebase.crashlytics.internal.model.CrashlyticsReport.Session.Event;

0 commit comments

Comments
 (0)