mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Fix minor bugs
This commit is contained in:
parent
7a02804544
commit
8696bff1cd
|
@ -108,7 +108,9 @@ public class MethodDependency implements MethodDependencyInfo {
|
|||
public void use() {
|
||||
if (!used) {
|
||||
used = true;
|
||||
dependencyChecker.scheduleMethodAnalysis(this);
|
||||
if (!isMissing()) {
|
||||
dependencyChecker.scheduleMethodAnalysis(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -442,7 +442,7 @@ public class TeaVMProjectBuilder extends IncrementalProjectBuilder {
|
|||
}
|
||||
}
|
||||
IContainer srcContainer = (IContainer)workspaceRoot.findMember(entry.getPath());
|
||||
if (srcContainer.getProject() == project) {
|
||||
if (srcContainer != null && srcContainer.getProject() == project) {
|
||||
srcCollector.addContainer(srcContainer);
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
*/
|
||||
package org.teavm.eclipse.debugger;
|
||||
|
||||
import org.teavm.eclipse.TeaVMEclipsePlugin;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author Alexey Andreev
|
||||
|
@ -25,5 +27,5 @@ public final class TeaVMDebugConstants {
|
|||
|
||||
public static final String JAVA_BREAKPOINT_INSTALL_COUNT = "org.eclipse.jdt.debug.core.installCount";
|
||||
|
||||
public static final String DEBUG_TARGET_ID = "org.teavm.eclipse.debugger";
|
||||
public static final String DEBUG_TARGET_ID = TeaVMEclipsePlugin.ID + ".debugger";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user