Delete unused code in ConfigurationMethod
This commit is contained in:
parent
782d7169e4
commit
a8102e6a41
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2018 the original author or authors.
|
* Copyright 2002-2021 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -51,18 +51,9 @@ abstract class ConfigurationMethod {
|
||||||
return new Location(this.configurationClass.getResource(), this.metadata);
|
return new Location(this.configurationClass.getResource(), this.metadata);
|
||||||
}
|
}
|
||||||
|
|
||||||
String getFullyQualifiedMethodName() {
|
void validate(ProblemReporter problemReporter) {
|
||||||
return this.metadata.getDeclaringClassName() + "#" + this.metadata.getMethodName();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static String getShortMethodName(String fullyQualifiedMethodName) {
|
|
||||||
return fullyQualifiedMethodName.substring(fullyQualifiedMethodName.indexOf('#') + 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void validate(ProblemReporter problemReporter) {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.format("[%s:name=%s,declaringClass=%s]",
|
return String.format("[%s:name=%s,declaringClass=%s]",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue