mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - code cleanup - remove unused - methods
This commit is contained in:
@@ -30,7 +30,6 @@ class ClassLoadContext {
|
||||
|
||||
/**
|
||||
* This constructor is package-private to restrict instantiation to
|
||||
* {@link ClassLoadContextFactory} only.
|
||||
*/
|
||||
ClassLoadContext(final Class<?> caller, boolean preferContext) {
|
||||
if (caller == null){
|
||||
@@ -135,18 +134,6 @@ class ClassLoadContext {
|
||||
* 'loader1'=='loader2'].
|
||||
*/
|
||||
private boolean isChild(final ClassLoader loader1, ClassLoader loader2) {
|
||||
// if (loader1 == loader2) {
|
||||
// logger.info("Context and Caller ClassLoader's same "+loader1.getClass().getName());
|
||||
// return true;
|
||||
// }
|
||||
// if (loader2 == null) {
|
||||
// logger.info(msg+" ClassLoader is null");
|
||||
// return false;
|
||||
// }
|
||||
// if (loader1 == null) {
|
||||
// logger.info("Using "+msg+" ClassLoader as other is null");
|
||||
// return true;
|
||||
// }
|
||||
|
||||
for (; loader2 != null; loader2 = loader2.getParent()) {
|
||||
if (loader2 == loader1) {
|
||||
|
||||
@@ -26,10 +26,6 @@ public class CheckImmutableResponse {
|
||||
this.compoundType = compoundType;
|
||||
}
|
||||
|
||||
public String getReasonNotImmutable() {
|
||||
return reasonNotImmutable;
|
||||
}
|
||||
|
||||
public void setReasonNotImmutable(String error) {
|
||||
this.immutable = false;
|
||||
this.reasonNotImmutable = error;
|
||||
|
||||
Reference in New Issue
Block a user