Remove unnecessary comments and eliminate duplicate code

This commit is contained in:
Alexey Andreev 2017-02-26 13:52:06 +03:00
parent a48e3fbd61
commit 6d3b329540
4 changed files with 1 additions and 40 deletions

View File

@ -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();
}
}

View File

@ -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;

View File

@ -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;

View File

@ -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 {
}