mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix minor issues
This commit is contained in:
parent
b0b9287659
commit
50a65c27e3
5
pom.xml
5
pom.xml
|
@ -230,6 +230,11 @@
|
|||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<version>2.5.3</version>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
|
|
|
@ -99,7 +99,10 @@ public class ChromeRDPDebugger implements JavaScriptDebugger, ChromeRDPExchangeC
|
|||
if (jsonMessage.has("id")) {
|
||||
Response response = mapper.reader(Response.class).readValue(jsonMessage);
|
||||
if (response.getError() != null) {
|
||||
System.err.println("#" + jsonMessage.get("id") + ": " + response.getError().toString());
|
||||
if (logger.isWarnEnabled()) {
|
||||
logger.warn("Error message #{} received from browser: {}", jsonMessage.get("id"),
|
||||
response.getError().toString());
|
||||
}
|
||||
}
|
||||
responseHandlers.remove(response.getId()).received(response.getResult());
|
||||
} else {
|
||||
|
@ -338,7 +341,6 @@ public class ChromeRDPDebugger implements JavaScriptDebugger, ChromeRDPExchangeC
|
|||
logger.warn("Error setting breakpoint at {}, message id is {}",
|
||||
breakpoint.getLocation(), message.getId());
|
||||
}
|
||||
System.err.println();
|
||||
breakpoint.chromeId = null;
|
||||
}
|
||||
for (JavaScriptDebuggerListener listener : getListeners()) {
|
||||
|
|
|
@ -72,7 +72,6 @@
|
|||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<minifying>false</minifying>
|
||||
<numThreads>1</numThreads>
|
||||
<properties>
|
||||
<java.util.Locale.available>en, en_US, en_GB, ru, ru_RU</java.util.Locale.available>
|
||||
</properties>
|
||||
|
|
|
@ -83,7 +83,7 @@ public class SourceWriter implements Appendable, LocationProvider {
|
|||
if (csq.charAt(i) == '\n') {
|
||||
appendSingleLine(csq, last, i);
|
||||
newLine();
|
||||
last = i;
|
||||
last = i + 1;
|
||||
}
|
||||
}
|
||||
appendSingleLine(csq, last, end);
|
||||
|
|
|
@ -79,7 +79,6 @@
|
|||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<minifying>false</minifying>
|
||||
<numThreads>1</numThreads>
|
||||
<outputDir>${project.build.directory}/javascript-test</outputDir>
|
||||
<debugInformationGenerated>true</debugInformationGenerated>
|
||||
<sourceMapsGenerated>true</sourceMapsGenerated>
|
||||
|
@ -93,7 +92,6 @@
|
|||
<phase>process-test-classes</phase>
|
||||
<configuration>
|
||||
<minifying>false</minifying>
|
||||
<numThreads>1</numThreads>
|
||||
<scanDependencies>true</scanDependencies>
|
||||
<outputDir>${project.build.directory}/javascript-tck</outputDir>
|
||||
<adapterClass>org.teavm.html4j.testing.KOTestAdapter</adapterClass>
|
||||
|
|
Loading…
Reference in New Issue
Block a user