/*
 * Copyright (c) 2012 Cosmin Stejerean.
 *
 * Distributed under the MIT license: http://opensource.org/licenses/MIT
 */

package com.offbytwo.jenkins.model;

import com.google.common.collect.Lists;

import java.util.Arrays;
import java.util.List;

import static com.google.common.collect.Lists.newArrayList;

public class MainView extends BaseModel {
    private List<Job> jobs;

    /* default constructor needed for Jackson */
    public MainView() {
        this(Lists.<Job>newArrayList());
    }

    public MainView(List<Job> jobs) {
        this.jobs = jobs;
    }

    public MainView(Job... jobs) {
        this(Arrays.asList(jobs));
    }

    public List<Job> getJobs() {
        return jobs;
    }

}

@@ -248,69 +248,8 @@
 t;%0A%0A
-import static com.google.common.collect.Lists.newArrayList;%0A%0A
 publ

fix pmd violation