@@ -114,7 +114,9 @@ enum Architecture {
114
114
matcher .put ("x86" , X86_32 );
115
115
}
116
116
117
- /** @Return {@link CommonUtils.Architecture} enum based on @param String */
117
+ /**
118
+ * @Return {@link CommonUtils.Architecture} enum based on @param String
119
+ */
118
120
static Architecture getValue () {
119
121
String arch = Build .CPU_ABI ;
120
122
@@ -248,7 +250,9 @@ public static boolean getProximitySensorEnabled(Context context) {
248
250
}
249
251
}
250
252
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
+ */
252
256
@ Deprecated
253
257
public static boolean isLoggingEnabled (Context context ) {
254
258
return false ;
@@ -532,7 +536,9 @@ public static void closeQuietly(Closeable closeable) {
532
536
}
533
537
}
534
538
535
- /** @return if the given permission is granted */
539
+ /**
540
+ * @return if the given permission is granted
541
+ */
536
542
public static boolean checkPermission (Context context , String permission ) {
537
543
final int res = context .checkCallingOrSelfPermission (permission );
538
544
return (res == PackageManager .PERMISSION_GRANTED );
@@ -556,7 +562,9 @@ public static boolean canTryConnection(Context context) {
556
562
}
557
563
}
558
564
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
+ */
560
568
public static boolean nullSafeEquals (@ Nullable String s1 , @ Nullable String s2 ) {
561
569
// :TODO: replace calls to this method with Objects.equals(...) when minSdkVersion is 19+
562
570
if (s1 == null ) {
0 commit comments