mirror of
https://github.com/revanced/smali.git
synced 2025-05-04 00:24:34 +02:00
Minor nullness attribute and whitespace tweaks
This commit is contained in:
parent
39d2c38685
commit
ac7a94a295
@ -33,13 +33,14 @@ package org.jf.dexlib2.dexbacked;
|
||||
|
||||
import org.jf.util.ExceptionWithContext;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
public class DexBuffer {
|
||||
// TODO: consider using a direct ByteBuffer instead
|
||||
protected final byte[] buf;
|
||||
@Nonnull protected final byte[] buf;
|
||||
|
||||
public DexBuffer(byte[] buf) {
|
||||
public DexBuffer(@Nonnull byte[] buf) {
|
||||
this.buf = buf;
|
||||
}
|
||||
|
||||
|
@ -227,7 +227,6 @@ public class DexReader {
|
||||
public int readShort(int offset) { return dexBuf.readShort(offset); }
|
||||
public int readByte(int offset) { return dexBuf.readByte(offset); }
|
||||
|
||||
|
||||
public int readSizedInt(int bytes) {
|
||||
int o = offset;
|
||||
byte[] buf = dexBuf.buf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user