Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: clean up tab intendation #3707

Merged
merged 1 commit into from
Oct 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public class TypedValue {
/** Identifies the end of plain integer values. */
public static final int TYPE_LAST_INT = 0x1f;

/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */

/** Complex data: bit location of unit information. */
public static final int COMPLEX_UNIT_SHIFT = 0;
Expand Down Expand Up @@ -182,7 +182,7 @@ public class TypedValue {
*/
public static final int COMPLEX_MANTISSA_MASK = 0xffffff;

/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */

/**
* {@link #TYPE_NULL} data indicating the value was not specified.
Expand All @@ -207,7 +207,7 @@ public class TypedValue {
*/
public static final int DENSITY_NONE = 0xffff;

/* ------------------------------------------------------------ */
/* ------------------------------------------------------------ */

/**
* The type held by this value, as defined by the constants here. This tells
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package brut.androlib.exceptions;

public class CantFind9PatchChunkException extends AndrolibException {
public CantFind9PatchChunkException(String message, Throwable cause) {
super(message, cause);
}
public CantFind9PatchChunkException(String message, Throwable cause) {
super(message, cause);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,18 @@
package brut.androlib.exceptions;

public class CantFindFrameworkResException extends AndrolibException {
public CantFindFrameworkResException(int id) {
mPkgId = id;
}
public CantFindFrameworkResException(int id) {
mPkgId = id;
}

public int getPkgId() {
return mPkgId;
}
public int getPkgId() {
return mPkgId;
}

@Override
public String getMessage() {
return String.format("Can't find framework resources for package of id: %d", this.getPkgId());
}
@Override
public String getMessage() {
return String.format("Can't find framework resources for package of id: %d", this.getPkgId());
}

private final int mPkgId;
private final int mPkgId;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
package brut.androlib.exceptions;

public class InFileNotFoundException extends AndrolibException {
public InFileNotFoundException() {
}
public InFileNotFoundException() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
package brut.androlib.exceptions;

public class OutDirExistsException extends AndrolibException {
public OutDirExistsException() {
}
public OutDirExistsException() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package brut.androlib.exceptions;

public class UndefinedResObjectException extends AndrolibException {
public UndefinedResObjectException(String message) {
super(message);
}
public UndefinedResObjectException(String message) {
super(message);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -469,12 +469,12 @@ private ResIntBasedValue readCompactValue(byte type, int data) throws AndrolibEx
}

private ResIntBasedValue readValue() throws IOException, AndrolibException {
short size = mIn.readShort();
short size = mIn.readShort();
if (size < 8) {
return null;
}

mIn.skipCheckByte((byte) 0); // zero
mIn.skipCheckByte((byte) 0); // zero
byte type = mIn.readByte();
int data = mIn.readInt();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,8 +262,8 @@ private static int[] getUtf8(byte[] array, int offset) {
val = array[offset];
offset += 1;
if ((val & 0x80) != 0) {
int low = (array[offset] & 0xFF);
length = ((val & 0x7F) << 8) + low;
int low = (array[offset] & 0xFF);
length = ((val & 0x7F) << 8) + low;
offset += 1;
} else {
length = val;
Expand Down
Loading