DnDListScan.java

1
/*******************************************************************************
2
 * Copyhacked (H) 2012-2020.
3
 * This program and the accompanying materials
4
 * are made available under no term at all, use it like
5
 * you want, but share and discuss about it
6
 * every time possible with every body.
7
 * 
8
 * Contributors:
9
 *      ron190 at ymail dot com - initial implementation
10
 ******************************************************************************/
11
package com.jsql.view.swing.list;
12
13
import java.util.List;
14
15
/**
16
 * A list supporting drag and drop with copy/paste object functionality.
17
 */
18
public class DnDListScan extends DnDList {
19
    
20
    public DnDListScan(List<ItemList> newList) {
21
        super(newList);
22
    }
23
24
    @Override
25
    public void addItem(int endPosition, String line) {
26 1 1. addItem : removed call to javax/swing/DefaultListModel::add → NO_COVERAGE
        this.listModel.add(endPosition, new ItemListScan(new BeanInjection(line.replace("\\", "/"))));
27
    }
28
}

Mutations

26

1.1
Location : addItem
Killed by : none
removed call to javax/swing/DefaultListModel::add → NO_COVERAGE

Active mutators

Tests examined


Report generated by PIT 1.16.1