Skip to content

Commit 40c4d70

Browse files
committed
Disabling some "unused" warnings
I'd submitted code that's never actually used in the android/snippets apps. Ideally we'd include it in an app, but in the meantime, disabling the "unused" warnings. Also removed one line (outside of a published-on-DAC code block) that turned out not to be needed. No changes to the code that's included on DAC, and the code still compiles. (I also see some areas where the actual code snippet is generating warnings, but I'll resolve those in separate PRs that can be reviewed by the appropriate SMEs for those docs.)
1 parent 09cf3eb commit 40c4d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/src/main/java/com/example/snippets/backgroundwork/WakeLockSnippetsJava.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import androidx.annotation.Nullable;
88

9-
@SuppressWarnings("Unused")
9+
@SuppressWarnings("UNUSED")
1010
public class WakeLockSnippetsJava extends Activity {
1111

1212
PowerManager.WakeLock wakeLock;

0 commit comments

Comments
 (0)