• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jiangxincode / ApkToolBoxGUI / #1207

13 Sep 2025 11:58PM UTC coverage: 2.895% (-0.006%) from 2.901%
#1207

push

jiangxincode
fix #569: 可能在完全初始化子类之前逃逸了 'this'

0 of 32 new or added lines in 22 files covered. (0.0%)

9 existing lines in 8 files now uncovered.

248 of 8567 relevant lines covered (2.89%)

0.03 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/edu/jiangxin/apktoolbox/swing/treetable/MyTreeTableSelectionModel.java
1
package edu.jiangxin.apktoolbox.swing.treetable;
2

3
import javax.swing.ListSelectionModel;
4
import javax.swing.event.ListSelectionEvent;
5
import javax.swing.event.ListSelectionListener;
6
import javax.swing.tree.DefaultTreeSelectionModel;
7
import java.io.Serial;
8

9
public class MyTreeTableSelectionModel extends DefaultTreeSelectionModel {
10
    @Serial
11
    private static final long serialVersionUID = 1L;
12

13
    public MyTreeTableSelectionModel() {
14
        super();
×
NEW
15
    }
×
16

17
    // in case of escape of "this"
18
    public void initialize() {
UNCOV
19
        getListSelectionModel().addListSelectionListener(new ListSelectionListener() {
×
20
            @Override
21
            public void valueChanged(ListSelectionEvent e) {
22

23
            }
×
24
        });
25
    }
×
26

27
    ListSelectionModel getListSelectionModel() {
28
        return listSelectionModel;
×
29
    }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc