Skip to content

Commit

Permalink
Delete unused code in ConfigurationMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Jun 21, 2021
1 parent 782d716 commit a8102e6
Showing 1 changed file with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -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");
* you may not use this file except in compliance with the License.
@@ -51,18 +51,9 @@ public Location getResourceLocation() {
return new Location(this.configurationClass.getResource(), this.metadata);
}

String getFullyQualifiedMethodName() {
return this.metadata.getDeclaringClassName() + "#" + this.metadata.getMethodName();
void validate(ProblemReporter problemReporter) {
}

static String getShortMethodName(String fullyQualifiedMethodName) {
return fullyQualifiedMethodName.substring(fullyQualifiedMethodName.indexOf('#') + 1);
}

public void validate(ProblemReporter problemReporter) {
}


@Override
public String toString() {
return String.format("[%s:name=%s,declaringClass=%s]",

0 comments on commit a8102e6

Please sign in to comment.