src/main/java/org/vibur/dbcp/pool/ViburListener.java
public TakenConnection[] getTakenConnections() {
        ConnHolder[] takenConns = getTaken(new ConnHolder[config.getPoolMaxSize()]);
        if (takenConns.length == 0) {
            return NO_TAKEN_CONNECTIONS;
        }

        return Arrays.copyOf(takenConns, takenConns.length, TakenConnection[].class);
    }
public TakenConnection[] getTakenConnections() {
        ConnHolder[] takenConns = getTaken(new ConnHolder[config.getPoolMaxSize()]);
        if (takenConns.length == 0) {
            return NO_TAKEN_CONNECTIONS;
        }

        return Arrays.copyOf(takenConns, takenConns.length, TakenConnection[].class);
    }
See {@link org.vibur.dbcp.ViburDataSource#getTakenConnections}.