diff --git a/core/src/main/java/org/teavm/model/MethodReference.java b/core/src/main/java/org/teavm/model/MethodReference.java index d5ed4a70f..104e70fd1 100644 --- a/core/src/main/java/org/teavm/model/MethodReference.java +++ b/core/src/main/java/org/teavm/model/MethodReference.java @@ -162,13 +162,6 @@ public class MethodReference { } public String signatureToString() { - StringBuilder sb = new StringBuilder(); - sb.append('('); - for (int i = 0; i < signature.length - 1; ++i) { - sb.append(signature[i].toString()); - } - sb.append(')'); - sb.append(signature[signature.length - 1]); - return sb.toString(); + return getDescriptor().signatureToString(); } } diff --git a/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java b/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java index f41b0eabd..a9b049a65 100644 --- a/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java +++ b/tools/maven/plugin/src/main/java/org/teavm/maven/MavenSourceFileProviderLookup.java @@ -30,10 +30,6 @@ import org.teavm.tooling.sources.DirectorySourceFileProvider; import org.teavm.tooling.sources.JarSourceFileProvider; import org.teavm.tooling.sources.SourceFileProvider; -/** - * - * @author Alexey Andreev - */ public class MavenSourceFileProviderLookup { private MavenProject mavenProject; private RepositorySystem repositorySystem; diff --git a/tools/maven/plugin/src/main/java/org/teavm/maven/MavenTeaVMToolLog.java b/tools/maven/plugin/src/main/java/org/teavm/maven/MavenTeaVMToolLog.java index 1208d4a25..df95cdfe8 100644 --- a/tools/maven/plugin/src/main/java/org/teavm/maven/MavenTeaVMToolLog.java +++ b/tools/maven/plugin/src/main/java/org/teavm/maven/MavenTeaVMToolLog.java @@ -18,10 +18,6 @@ package org.teavm.maven; import org.apache.maven.plugin.logging.Log; import org.teavm.tooling.TeaVMToolLog; -/** - * - * @author Alexey Andreev - */ public class MavenTeaVMToolLog implements TeaVMToolLog { private Log log; diff --git a/tools/maven/plugin/src/main/java/org/teavm/maven/MethodAliasArgument.java b/tools/maven/plugin/src/main/java/org/teavm/maven/MethodAliasArgument.java deleted file mode 100644 index 9f8879921..000000000 --- a/tools/maven/plugin/src/main/java/org/teavm/maven/MethodAliasArgument.java +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2014 Alexey Andreev. - * - * 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 org.teavm.maven; - -/** - * - * @author Alexey Andreev - */ -public class MethodAliasArgument { - -}