mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 10:49:06 +01:00
Add safety annotations.
This commit is contained in:
@@ -1,13 +1,19 @@
|
||||
package org.briarproject.briar.android;
|
||||
|
||||
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
|
||||
|
||||
import java.util.logging.Handler;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.LogRecord;
|
||||
|
||||
import javax.annotation.concurrent.Immutable;
|
||||
|
||||
/**
|
||||
* Log handler that raises all records at or above a given source level to a
|
||||
* given destination level. This affects the level seen by subsequent handlers.
|
||||
*/
|
||||
@Immutable
|
||||
@NotNullByDefault
|
||||
class LevelRaisingHandler extends Handler {
|
||||
|
||||
private final Level dest;
|
||||
|
||||
Reference in New Issue
Block a user