id
stringlengths
27
31
content
stringlengths
14
287k
max_stars_repo_path
stringlengths
52
57
crossvul-java_data_good_689_2
/* * Copyright 2011- Per Wendel * * 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 agr...
./CrossVul/dataset_final_sorted/CWE-22/java/good_689_2
crossvul-java_data_good_2092_0
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, 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 restriction, including without limitation the rights ...
./CrossVul/dataset_final_sorted/CWE-22/java/good_2092_0
crossvul-java_data_bad_4612_3
404: Not Found
./CrossVul/dataset_final_sorted/CWE-22/java/bad_4612_3
crossvul-java_data_good_688_2
/* * Copyright 2011- Per Wendel * * 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 agr...
./CrossVul/dataset_final_sorted/CWE-22/java/good_688_2
crossvul-java_data_bad_498_0
package cc.mrbird.common.controller; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import javax.servlet.http.HttpServletResponse; import java.io.*; import java.nio.file.Files; import java.nio.fi...
./CrossVul/dataset_final_sorted/CWE-22/java/bad_498_0
crossvul-java_data_good_416_0
package org.linlinjava.litemall.wx.web; import org.linlinjava.litemall.core.storage.StorageService; import org.linlinjava.litemall.core.util.CharUtil; import org.linlinjava.litemall.core.util.ResponseUtil; import org.linlinjava.litemall.db.domain.LitemallStorage; import org.linlinjava.litemall.db.service.LitemallStora...
./CrossVul/dataset_final_sorted/CWE-22/java/good_416_0
crossvul-java_data_bad_68_0
/** * Copyright (C) 2012 ZeroTurnaround LLC <support@zeroturnaround.com> * * 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...
./CrossVul/dataset_final_sorted/CWE-22/java/bad_68_0
crossvul-java_data_good_4612_5
package org.jooby.issues; import org.jooby.test.ServerFeature; import org.junit.Test; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import static org.junit.Assert.assertTrue; public class Issue1639 extends ServerFeature { { Path dir = Paths.get(System.getProperty("user.di...
./CrossVul/dataset_final_sorted/CWE-22/java/good_4612_5
crossvul-java_data_bad_4612_0
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditions for use, reproduction, * and distribution as defined by Sections 1 through 9 of this documen...
./CrossVul/dataset_final_sorted/CWE-22/java/bad_4612_0
crossvul-java_data_good_1884_3
package eu.hinsch.spring.boot.actuator.logview; import org.apache.catalina.ssi.ByteArrayServletOutputStream; import org.apache.commons.compress.archivers.tar.TarArchiveEntry; import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IO...
./CrossVul/dataset_final_sorted/CWE-22/java/good_1884_3
crossvul-java_data_bad_688_2
/* * Copyright 2011- Per Wendel * * 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 agr...
./CrossVul/dataset_final_sorted/CWE-22/java/bad_688_2
crossvul-java_data_good_4612_3
package org.jooby.internal; import com.google.common.base.Strings; import java.net.MalformedURLException; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; public interface AssetSource { URL getResource(String name); static AssetSource fromClassPath(ClassLoader loader, String source) {...
./CrossVul/dataset_final_sorted/CWE-22/java/good_4612_3
crossvul-java_data_good_489_0
/******************************************************************************* * Copyright (c) 2015 Eclipse RDF4J contributors, Aduna, and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Distribution License v1.0 * which accompanies th...
./CrossVul/dataset_final_sorted/CWE-22/java/good_489_0
crossvul-java_data_good_4101_0
/** * This file is part of the Goobi viewer - a content presentation and management application for digitized objects. * * Visit these websites for more information. * - http://www.intranda.com * - http://digiverso.com * * This program is free software; you can redistribute it and/or modify it ...
./CrossVul/dataset_final_sorted/CWE-22/java/good_4101_0
crossvul-java_data_good_4612_1
/** * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION * * 1. Definitions. * * "License" shall mean the terms and conditio...
./CrossVul/dataset_final_sorted/CWE-22/java/good_4612_1
crossvul-java_data_bad_2092_0
/* * The MIT License * * Copyright (c) 2004-2010, Sun Microsystems, 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 restriction, including without limitation the rights ...
./CrossVul/dataset_final_sorted/CWE-22/java/bad_2092_0
crossvul-java_data_good_854_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_854_1
crossvul-java_data_good_854_3
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_854_3
crossvul-java_data_good_853_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_853_0
crossvul-java_data_good_853_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_853_1
crossvul-java_data_bad_854_3
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_854_3
crossvul-java_data_good_853_3
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_853_3
crossvul-java_data_bad_854_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_854_0
crossvul-java_data_good_854_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_854_0
crossvul-java_data_bad_853_0
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_853_0
crossvul-java_data_good_854_2
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_854_2
crossvul-java_data_bad_853_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_853_1
crossvul-java_data_bad_853_3
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_853_3
crossvul-java_data_bad_854_2
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_854_2
crossvul-java_data_bad_854_1
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_854_1
crossvul-java_data_good_854_5
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/good_854_5
crossvul-java_data_bad_854_5
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
./CrossVul/dataset_final_sorted/CWE-770/java/bad_854_5
crossvul-java_data_good_1910_20
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_20
crossvul-java_data_good_1969_1
// Copyright (C) 2012 Google 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 t...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1969_1
crossvul-java_data_bad_3279_1
/* * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * 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-611/java/bad_3279_1
crossvul-java_data_bad_1910_12
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_12
crossvul-java_data_bad_4290_3
404: Not Found
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4290_3
crossvul-java_data_good_2449_13
/* Copyright 2018-2020 Accenture Technology 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 la...
./CrossVul/dataset_final_sorted/CWE-611/java/good_2449_13
crossvul-java_data_bad_2449_13
/* Copyright 2018-2020 Accenture Technology 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 la...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_2449_13
crossvul-java_data_bad_1969_0
// Copyright (C) 2012 Google 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 t...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1969_0
crossvul-java_data_bad_3875_1
/* * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. * * This software is open source. * See the bottom of this file for the licence. */ package org.dom4j.io; import org.xml.sax.SAXException; import org.xml.sax.SAXNotRecognizedException; import org.xml.sax.SAXNotSupportedException; import org.xml.sa...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_3875_1
crossvul-java_data_good_4033_1
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.core; import org.postgresql.PGConnection; import org.postgresql.PGProperty; import org.postgresql.jdbc.FieldMetadata; import org.postgresql.jdbc.TimestampUtils; im...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4033_1
crossvul-java_data_good_1969_0
// Copyright (C) 2012 Google 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 t...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1969_0
crossvul-java_data_bad_1736_0
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1736_0
crossvul-java_data_bad_4033_3
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.jdbc; import org.postgresql.Driver; import org.postgresql.PGNotification; import org.postgresql.PGProperty; import org.postgresql.copy.CopyManager; import org.post...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4033_3
crossvul-java_data_good_1737_0
/* * Copyright 2015 McEvoy Software Ltd. * * 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 ...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1737_0
crossvul-java_data_good_3279_1
/* * Copyright 2010 Red Hat, Inc. and/or its affiliates. * * 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-611/java/good_3279_1
crossvul-java_data_bad_4033_1
/* * Copyright (c) 2003, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.core; import org.postgresql.PGConnection; import org.postgresql.PGProperty; import org.postgresql.jdbc.FieldMetadata; import org.postgresql.jdbc.TimestampUtils; im...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4033_1
crossvul-java_data_good_1910_1
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_1
crossvul-java_data_good_4290_5
/* * file: GanttDesignerReader.java * author: Jon Iles * copyright: (c) Packwood Software 2019 * date: 10 February 2019 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4290_5
crossvul-java_data_good_4175_0
package org.mapfish.print.map.style; import org.geotools.factory.CommonFactoryFinder; import org.geotools.styling.DefaultResourceLocator; import org.geotools.styling.Style; import org.geotools.xml.styling.SLDParser; import org.locationtech.jts.util.Assert; import org.mapfish.print.Constants; import org.mapfish.print.c...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4175_0
crossvul-java_data_good_1910_8
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_8
crossvul-java_data_good_1910_0
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_0
crossvul-java_data_good_1738_0
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1738_0
crossvul-java_data_bad_4033_4
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.jdbc; import org.postgresql.core.BaseConnection; import org.postgresql.util.GT; import org.postgresql.util.PSQLException; import org.postgresql.util.PSQLState; im...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4033_4
crossvul-java_data_good_2449_9
/* Copyright 2018-2020 Accenture Technology 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 la...
./CrossVul/dataset_final_sorted/CWE-611/java/good_2449_9
crossvul-java_data_bad_1737_0
/* * Copyright 2015 McEvoy Software Ltd. * * 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 ...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1737_0
crossvul-java_data_bad_1910_17
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_17
crossvul-java_data_bad_1910_19
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_19
crossvul-java_data_bad_1577_0
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1577_0
crossvul-java_data_bad_4290_4
/* * file: ConceptDrawProjectReader.java * author: Jon Iles * copyright: (c) Packwood Software 2018 * date: 9 July 2018 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4290_4
crossvul-java_data_bad_1910_16
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_16
crossvul-java_data_good_1736_1
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1736_1
crossvul-java_data_good_1910_2
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_2
crossvul-java_data_bad_1910_6
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_6
crossvul-java_data_bad_4033_0
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql; import org.postgresql.util.DriverInfo; import org.postgresql.util.GT; import org.postgresql.util.PSQLException; import org.postgresql.util.PSQLState; import java...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4033_0
crossvul-java_data_bad_2449_9
/* Copyright 2018-2020 Accenture Technology 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 la...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_2449_9
crossvul-java_data_bad_4033_6
404: Not Found
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4033_6
crossvul-java_data_good_1910_11
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_11
crossvul-java_data_good_4290_6
/* * file: GanttProjectReader.java * author: Jon Iles * copyright: (c) Packwood Software 2017 * date: 22 March 2017 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Fou...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4290_6
crossvul-java_data_good_4033_0
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql; import org.postgresql.util.DriverInfo; import org.postgresql.util.GT; import org.postgresql.util.PSQLException; import org.postgresql.util.PSQLState; import java...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4033_0
crossvul-java_data_good_4033_3
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.jdbc; import org.postgresql.Driver; import org.postgresql.PGNotification; import org.postgresql.PGProperty; import org.postgresql.copy.CopyManager; import org.post...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4033_3
crossvul-java_data_good_2449_10
/* Copyright 2018-2020 Accenture Technology 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 la...
./CrossVul/dataset_final_sorted/CWE-611/java/good_2449_10
crossvul-java_data_bad_1910_1
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_1
crossvul-java_data_bad_4290_5
/* * file: GanttDesignerReader.java * author: Jon Iles * copyright: (c) Packwood Software 2019 * date: 10 February 2019 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4290_5
crossvul-java_data_bad_1738_0
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1738_0
crossvul-java_data_good_1910_13
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_13
crossvul-java_data_good_2449_11
/* Copyright 2018-2020 Accenture Technology 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 la...
./CrossVul/dataset_final_sorted/CWE-611/java/good_2449_11
crossvul-java_data_good_1397_0
/* * Copyright 2017 - 2019 Anton Tananaev (anton@traccar.org) * * 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 b...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1397_0
crossvul-java_data_good_1910_4
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_4
crossvul-java_data_bad_298_0
/* * Copyright 2008-2017 by Emeric Vernat * * This file is part of Java Melody. * * 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...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_298_0
crossvul-java_data_good_1910_17
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_17
crossvul-java_data_bad_1910_10
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_10
crossvul-java_data_bad_1910_14
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_14
crossvul-java_data_bad_1910_20
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_20
crossvul-java_data_bad_4175_0
package org.mapfish.print.map.style; import org.geotools.factory.CommonFactoryFinder; import org.geotools.styling.DefaultResourceLocator; import org.geotools.styling.Style; import org.geotools.xml.styling.SLDParser; import org.locationtech.jts.util.Assert; import org.mapfish.print.Constants; import org.mapfish.print.c...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4175_0
crossvul-java_data_good_298_0
/* * Copyright 2008-2017 by Emeric Vernat * * This file is part of Java Melody. * * 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...
./CrossVul/dataset_final_sorted/CWE-611/java/good_298_0
crossvul-java_data_bad_2449_10
/* Copyright 2018-2020 Accenture Technology 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 la...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_2449_10
crossvul-java_data_bad_1910_2
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1910_2
crossvul-java_data_good_1577_0
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
./CrossVul/dataset_final_sorted/CWE-611/java/good_1577_0
crossvul-java_data_bad_4033_2
/* * Copyright (c) 2004, PostgreSQL Global Development Group * See the LICENSE file in the project root for more information. */ package org.postgresql.ds.common; import org.postgresql.PGProperty; import org.postgresql.jdbc.AutoSave; import org.postgresql.jdbc.PreferQueryMode; import org.postgresql.util.Expression...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_4033_2
crossvul-java_data_bad_3875_0
/* * Copyright 2001-2005 (C) MetaStuff, Ltd. All Rights Reserved. * * This software is open source. * See the bottom of this file for the licence. */ package org.dom4j; import java.io.StringReader; import java.util.List; import java.util.Map; import java.util.StringTokenizer; import org.dom4j.io.SAXReader; impo...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_3875_0
crossvul-java_data_good_497_0
/* * Distributed as part of c3p0 v.0.9.5.2 * * Copyright (C) 2015 Machinery For Change, Inc. * * Author: Steve Waldman <swaldman@mchange.com> * * This library is free software; you can redistribute it and/or modify * it under the terms of EITHER: * * 1) The GNU Lesser General Public License (LGPL), versio...
./CrossVul/dataset_final_sorted/CWE-611/java/good_497_0
crossvul-java_data_good_1910_18
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_18
crossvul-java_data_bad_1736_1
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
./CrossVul/dataset_final_sorted/CWE-611/java/bad_1736_1
crossvul-java_data_good_4290_2
/* * file: UnmarshalHelper.java * author: Jon Iles * copyright: (c) Packwood Software 2020 * date: 29/08/2020 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Foundatio...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4290_2
crossvul-java_data_good_1910_12
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_12
crossvul-java_data_good_4290_3
/* * file: XmlReaderHelper.java * author: Jon Iles * copyright: (c) Packwood Software 2020 * date: 29/08/2020 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software Foundatio...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4290_3
crossvul-java_data_good_1910_10
/** * Copyright (c) 2010-2020 Contributors to the openHAB project * * See the NOTICE file(s) distributed with this work for additional * information. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * http://www.eclipse....
./CrossVul/dataset_final_sorted/CWE-611/java/good_1910_10
crossvul-java_data_good_4290_4
/* * file: ConceptDrawProjectReader.java * author: Jon Iles * copyright: (c) Packwood Software 2018 * date: 9 July 2018 */ /* * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by the * Free Software...
./CrossVul/dataset_final_sorted/CWE-611/java/good_4290_4