Skip to content

Commit 244453f

Browse files
committed
checkstyle
1 parent a574b65 commit 244453f

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

jadx-gui/src/main/java/jadx/gui/ui/panel/LogcatPanel.java

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,8 @@ public void log(LogcatController.LogcatInfo logcatInfo) {
208208
JScrollBar scrollbar = logcatScroll.getVerticalScrollBar();
209209
boolean atBottom = isAtBottom(scrollbar);
210210

211-
String logString = " > " +
212-
logcatInfo.getTimestamp() +
213-
" [pid: " +
214-
logcatInfo.getPid() +
215-
"] " +
216-
logcatInfo.getMsgTypeString() +
217-
": " +
218-
logcatInfo.getMsg() +
219-
"\n";
211+
String logString = " > " + logcatInfo.getTimestamp() + " [pid: " + logcatInfo.getPid() + "] "
212+
+ logcatInfo.getMsgTypeString() + ": " + logcatInfo.getMsg() + "\n";
220213

221214
if (logcatInfo.getMsgType() == 0) {
222215
return; // ignore unknown
@@ -327,11 +320,7 @@ public void toggleAll(boolean checked) {
327320
public void selectAllBut(int ind) {
328321
for (int i = 0; i < combo.getItemCount(); i++) {
329322
CheckComboStore ccs = combo.getItemAt(i);
330-
if (i != ind) {
331-
ccs.state = false;
332-
} else {
333-
ccs.state = true;
334-
}
323+
ccs.state = (i == ind);
335324
switch (type) {
336325
case 1: // process
337326
logcatController.getFilter().togglePid(ccs.index, ccs.state);

0 commit comments

Comments
 (0)