Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package hudson.plugins.favorite.user;
 
 
        super(FavoriteUserProperty.class);
    }
    @Override
    public UserProperty newInstance(User user) {
        return new FavoriteUserProperty();
    }
    @Override
    public String getDisplayName() {
        return "Favorites";
    }
        for (String job : Hudson.getInstance().getJobNames()) {
            if (job.toLowerCase().startsWith(job.toLowerCase())) {
                c.add(job);
            }
        }
        return c;
    }
New to GrepCode? Check out our FAQ X