mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Remove unnecessary comments and eliminate duplicate code
This commit is contained in:
parent
a48e3fbd61
commit
6d3b329540
|
@ -162,13 +162,6 @@ public class MethodReference {
|
||||||
}
|
}
|
||||||
|
|
||||||
public String signatureToString() {
|
public String signatureToString() {
|
||||||
StringBuilder sb = new StringBuilder();
|
return getDescriptor().signatureToString();
|
||||||
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();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,10 +30,6 @@ import org.teavm.tooling.sources.DirectorySourceFileProvider;
|
||||||
import org.teavm.tooling.sources.JarSourceFileProvider;
|
import org.teavm.tooling.sources.JarSourceFileProvider;
|
||||||
import org.teavm.tooling.sources.SourceFileProvider;
|
import org.teavm.tooling.sources.SourceFileProvider;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class MavenSourceFileProviderLookup {
|
public class MavenSourceFileProviderLookup {
|
||||||
private MavenProject mavenProject;
|
private MavenProject mavenProject;
|
||||||
private RepositorySystem repositorySystem;
|
private RepositorySystem repositorySystem;
|
||||||
|
|
|
@ -18,10 +18,6 @@ package org.teavm.maven;
|
||||||
import org.apache.maven.plugin.logging.Log;
|
import org.apache.maven.plugin.logging.Log;
|
||||||
import org.teavm.tooling.TeaVMToolLog;
|
import org.teavm.tooling.TeaVMToolLog;
|
||||||
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @author Alexey Andreev
|
|
||||||
*/
|
|
||||||
public class MavenTeaVMToolLog implements TeaVMToolLog {
|
public class MavenTeaVMToolLog implements TeaVMToolLog {
|
||||||
private Log log;
|
private Log log;
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user