repo_name stringclasses 5 values | pr_number int64 1.52k 15.5k | pr_title stringlengths 8 143 | pr_description stringlengths 0 10.2k | author stringlengths 3 18 | date_created timestamp[ns, tz=UTC] | date_merged timestamp[ns, tz=UTC] | previous_commit stringlengths 40 40 | pr_commit stringlengths 40 40 | query stringlengths 11 10.2k | filepath stringlengths 6 220 | before_content stringlengths 0 597M | after_content stringlengths 0 597M | label int64 -1 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
apolloconfig/apollo | 3,882 | Polish log | ## What's the purpose of this PR
XXXXX
## Which issue(s) this PR fixes:
Fixes #
## Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request.
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Write necessary unit tests to verify the code.
- [ ] Run `mvn clean test` to make sure this pull request doesn't break anything.
- [ ] Update the [`CHANGES` log](https://github.com/ctripcorp/apollo/blob/master/CHANGES.md).
| lonre | 2021-08-10T13:48:46Z | 2021-08-11T00:25:00Z | 2c9b4dccbcf31012913b270cc356a30ab0cab89f | 2e2919d21c4590212b6b471075f81749e4606c26 | Polish log. ## What's the purpose of this PR
XXXXX
## Which issue(s) this PR fixes:
Fixes #
## Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request.
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Write necessary unit tests to verify the code.
- [ ] Run `mvn clean test` to make sure this pull request doesn't break anything.
- [ ] Update the [`CHANGES` log](https://github.com/ctripcorp/apollo/blob/master/CHANGES.md).
| ./apollo-core/src/test/java/com/ctrip/framework/test/tools/AloneClassLoader.java | /*
* Copyright 2021 Apollo 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 applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package com.ctrip.framework.test.tools;
import java.net.URLClassLoader;
/**
* @author kl (http://kailing.pub)
* @since 2021/5/21
*/
public class AloneClassLoader extends URLClassLoader {
private final ClassLoader appClassLoader;
public AloneClassLoader() {
super(((URLClassLoader) getSystemClassLoader()).getURLs(),
Thread.currentThread().getContextClassLoader().getParent());
appClassLoader = Thread.currentThread().getContextClassLoader();
}
@Override
public Class<?> loadClass(String name) throws ClassNotFoundException {
if (name.startsWith("org.junit.") || name.startsWith("junit.")) {
return appClassLoader.loadClass(name);
}
return super.loadClass(name);
}
} | /*
* Copyright 2021 Apollo 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 applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package com.ctrip.framework.test.tools;
import java.net.URLClassLoader;
/**
* @author kl (http://kailing.pub)
* @since 2021/5/21
*/
public class AloneClassLoader extends URLClassLoader {
private final ClassLoader appClassLoader;
public AloneClassLoader() {
super(((URLClassLoader) getSystemClassLoader()).getURLs(),
Thread.currentThread().getContextClassLoader().getParent());
appClassLoader = Thread.currentThread().getContextClassLoader();
}
@Override
public Class<?> loadClass(String name) throws ClassNotFoundException {
if (name.startsWith("org.junit.") || name.startsWith("junit.")) {
return appClassLoader.loadClass(name);
}
return super.loadClass(name);
}
} | -1 |
apolloconfig/apollo | 3,882 | Polish log | ## What's the purpose of this PR
XXXXX
## Which issue(s) this PR fixes:
Fixes #
## Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request.
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Write necessary unit tests to verify the code.
- [ ] Run `mvn clean test` to make sure this pull request doesn't break anything.
- [ ] Update the [`CHANGES` log](https://github.com/ctripcorp/apollo/blob/master/CHANGES.md).
| lonre | 2021-08-10T13:48:46Z | 2021-08-11T00:25:00Z | 2c9b4dccbcf31012913b270cc356a30ab0cab89f | 2e2919d21c4590212b6b471075f81749e4606c26 | Polish log. ## What's the purpose of this PR
XXXXX
## Which issue(s) this PR fixes:
Fixes #
## Brief changelog
XXXXX
Follow this checklist to help us incorporate your contribution quickly and easily:
- [ ] Read the [Contributing Guide](https://github.com/ctripcorp/apollo/blob/master/CONTRIBUTING.md) before making this pull request.
- [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
- [ ] Write necessary unit tests to verify the code.
- [ ] Run `mvn clean test` to make sure this pull request doesn't break anything.
- [ ] Update the [`CHANGES` log](https://github.com/ctripcorp/apollo/blob/master/CHANGES.md).
| ./doc/images/local-development/ConfigAdminApplication-Run.png | PNG
IHDR .
iCCPICC Profile HT[̤ZB{5A:JHc Pೠ"6!ERDEĂPPׇ*;=o|͝g ,Q'3&6 2z,@LGhh@53Uhrm:Y߯Ws29 @('r39(B#es\2]6ININ;Ss"¼P@aE) ?yf6'Cl!({ᱹ(ltlOuRR3QZNL.y?դ-
q~S'aNWsށ3,Nah^~+bEKäXRN d/kx3͏?Ùiၳsy8LsWqسE#퇛#"YҚpY6é:+`,@JʝRr?@wM%0,, ܃ӟ1 C9^7 g:3H@$ pĢf$toӁ2P gv B@@l@9p -, (!CT)C.dYA+AaP, @HCP Tj_=F`
L`=v=@8^< |