Add safety annotations.

parent 909e946e
Pipeline #3654 passed with stage
in 8 minutes and 13 seconds
package org.briarproject.briar.android; package org.briarproject.briar.android;
import org.briarproject.bramble.api.nullsafety.NotNullByDefault;
import java.util.logging.Handler; import java.util.logging.Handler;
import java.util.logging.Level; import java.util.logging.Level;
import java.util.logging.LogRecord; 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 * 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. * given destination level. This affects the level seen by subsequent handlers.
*/ */
@Immutable
@NotNullByDefault
class LevelRaisingHandler extends Handler { class LevelRaisingHandler extends Handler {
private final Level dest; private final Level dest;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment