id stringlengths 27 31 | content stringlengths 14 287k | max_stars_repo_path stringlengths 52 57 |
|---|---|---|
crossvul-java_data_good_4174_1 | package org.mapfish.print.servlet;
import net.sf.jasperreports.engine.fonts.FontFamily;
import net.sf.jasperreports.extensions.ExtensionsEnvironment;
import org.apache.commons.io.FilenameUtils;
import org.apache.commons.lang3.StringUtils;
import org.jfree.util.Log;
import org.json.JSONArray;
import org.json.JSONExcept... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_4174_1 |
crossvul-java_data_good_1166_1 | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Lice... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_1166_1 |
crossvul-java_data_bad_4516_0 | //
// $Id$
// From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
//
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.css.css;
import org.w3c.css.atrules.css.AtRuleMedia;
import org.w3c.css.atrules.css.AtRulePage;
import org.w3c.... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_4516_0 |
crossvul-java_data_good_5805_1 | /*
* Copyright 2004-2013 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_5805_1 |
crossvul-java_data_bad_24_0 | package org.jolokia.http;
import java.io.*;
import java.net.*;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
import java.util.*;
import javax.management.RuntimeMBeanException;
import javax.security.auth.Subject;
import javax.servlet.*;
import javax.servlet.http.*;
im... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_24_0 |
crossvul-java_data_bad_1163_0 | /*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_1163_0 |
crossvul-java_data_good_5841_0 | /////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2013 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_5841_0 |
crossvul-java_data_bad_24_3 | package org.jolokia.jvmagent.handler;
/*
* Copyright 2009-2013 Roland Huss
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_24_3 |
crossvul-java_data_bad_5810_0 | /*
* Copyright 2012 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_5810_0 |
crossvul-java_data_bad_1164_0 | /*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_1164_0 |
crossvul-java_data_good_1165_0 | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 1997-2016 Oracle and/or its affiliates. All rights reserved.
*
* The contents of this file are subject to the terms of either the GNU
* General Public License Version 2 only ("GPL") or the Common Development
* and Distribution Licens... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_1165_0 |
crossvul-java_data_good_24_0 | package org.jolokia.http;
import java.io.*;
import java.net.*;
import java.security.PrivilegedActionException;
import java.security.PrivilegedExceptionAction;
import java.util.*;
import javax.management.RuntimeMBeanException;
import javax.security.auth.Subject;
import javax.servlet.*;
import javax.servlet.http.*;
im... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_24_0 |
crossvul-java_data_good_4516_0 | //
// $Id$
// From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
//
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html
package org.w3c.css.css;
import org.w3c.css.atrules.css.AtRuleMedia;
import org.w3c.css.atrules.css.AtRulePage;
import org.w3c.... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_4516_0 |
crossvul-java_data_good_2097_1 | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi, Tom Huybrechts,
* Yahoo!, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_2097_1 |
crossvul-java_data_bad_2097_1 | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi, Tom Huybrechts,
* Yahoo!, Inc.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_2097_1 |
crossvul-java_data_bad_5841_1 | /////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
// www.projectforge.org
//
// Copyright (C) 2001-2013 Kai Reinhard (k.reinhard@micromata.de)
//
// ProjectForge is dual-licensed.
//
// This community edition is free software; you can redi... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_5841_1 |
crossvul-java_data_bad_5805_1 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_5805_1 |
crossvul-java_data_bad_24_2 | package org.jolokia.http;
/*
* Copyright 2009-2011 Roland Huss
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless req... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_24_2 |
crossvul-java_data_good_4992_0 | /**
* Copyright (c) 2013--2014 Red Hat, Inc.
*
* This software is licensed to you under the GNU General Public License,
* version 2 (GPLv2). There is NO WARRANTY for this software, express or
* implied, including the implied warranties of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. You should have rece... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_4992_0 |
crossvul-java_data_good_1164_0 | /*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0, which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* This Source Code may also be made available... | ./CrossVul/dataset_final_sorted/CWE-79/java/good_1164_0 |
crossvul-java_data_bad_2097_2 | /*
* The MIT License
*
* Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,
* Erik Ramfelt, Koichi Fujikawa, Red Hat, Inc., Seiji Sogabe,
* Stephen Connolly, Tom Huybrechts, Yahoo! Inc., Alan Harder, CloudBees, Inc.,
* Yahoo!, Inc.
*
* Permission is hereby granted, free of charge, to any person... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_2097_2 |
crossvul-java_data_bad_5805_0 | /*
* Copyright 2002-2008 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_5805_0 |
crossvul-java_data_bad_509_0 | 404: Not Found | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_509_0 |
crossvul-java_data_bad_4174_2 | package org.mapfish.print.servlet;
import org.json.JSONObject;
import org.junit.After;
import org.junit.Test;
import org.mapfish.print.AbstractMapfishSpringTest;
import org.mapfish.print.config.access.AccessAssertionTestUtil;
import org.mapfish.print.test.util.ImageSimilarity;
import org.mapfish.print.wrapper.json.PJs... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_4174_2 |
crossvul-java_data_bad_2099_0 | /*
* The MIT License
*
* Copyright (c) 2004-2010, Sun Microsystems, Inc., Michael B. Donohue, Seiji Sogabe
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, includ... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_2099_0 |
crossvul-java_data_bad_509_1 | package org.hswebframework.web.workflow.web;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.node.ObjectNode;
import io.swagger.annotations.Api;
import io.... | ./CrossVul/dataset_final_sorted/CWE-79/java/bad_509_1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.