File tree Expand file tree Collapse file tree
jadx-gui/src/main/java/jadx/gui/ui/panel Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments