Skip to content

Commit 98b679d

Browse files
committed
Format
1 parent 204e7ab commit 98b679d

File tree

1 file changed

+12
-4
lines changed
  • firebase-crashlytics/src/main/java/com/google/firebase/crashlytics/internal/common

1 file changed

+12
-4
lines changed

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

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

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

@@ -248,7 +250,9 @@ public static boolean getProximitySensorEnabled(Context context) {
248250
}
249251
}
250252

251-
/** @deprecated This method will now always return false. It should not be used. */
253+
/**
254+
* @deprecated This method will now always return false. It should not be used.
255+
*/
252256
@Deprecated
253257
public static boolean isLoggingEnabled(Context context) {
254258
return false;
@@ -532,7 +536,9 @@ public static void closeQuietly(Closeable closeable) {
532536
}
533537
}
534538

535-
/** @return if the given permission is granted */
539+
/**
540+
* @return if the given permission is granted
541+
*/
536542
public static boolean checkPermission(Context context, String permission) {
537543
final int res = context.checkCallingOrSelfPermission(permission);
538544
return (res == PackageManager.PERMISSION_GRANTED);
@@ -556,7 +562,9 @@ public static boolean canTryConnection(Context context) {
556562
}
557563
}
558564

559-
/** @return true if s1.equals(s2), or if both are null. */
565+
/**
566+
* @return true if s1.equals(s2), or if both are null.
567+
*/
560568
public static boolean nullSafeEquals(@Nullable String s1, @Nullable String s2) {
561569
// :TODO: replace calls to this method with Objects.equals(...) when minSdkVersion is 19+
562570
if (s1 == null) {

0 commit comments

Comments
 (0)