Repair maven build

This commit is contained in:
konsoletyper 2014-08-07 07:41:07 +04:00
parent 461528b51f
commit 2b52bbedf8
3 changed files with 18 additions and 4 deletions

View File

@ -120,7 +120,7 @@ public class DebugInformationBuilder implements DebugInformationEmitter {
if (debugInformation == null) {
debugInformation = new DebugInformation();
debugInformation.fileNames = files.getItems();;
debugInformation.fileNames = files.getItems();
debugInformation.classNames = classes.getItems();
debugInformation.fields = fields.getItems();
debugInformation.methods = methods.getItems();

View File

@ -1,4 +1,18 @@
package org.teavm.debugging;
/*
* 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.debugging;
import java.util.AbstractMap;
import java.util.HashMap;
@ -10,7 +24,7 @@ import java.util.concurrent.atomic.AtomicReference;
*
* @author Alexey Andreev <konsoletyper@gmail.com>
*/
class PropertyMap extends AbstractMap<String, Variable>{
class PropertyMap extends AbstractMap<String, Variable> {
private String className;
private AtomicReference<Map<String, Variable>> backingMap = new AtomicReference<>();
private Map<String, JavaScriptVariable> jsVariables;

View File

@ -351,7 +351,7 @@ public class TeaVM implements TeaVMHost, ServiceRepository {
if (debugEmitter != null) {
renderer.setDebugEmitter(debugEmitter);
}
debugEmitter.setLocationProvider(sourceWriter);
renderer.getDebugEmitter().setLocationProvider(sourceWriter);
for (Map.Entry<MethodReference, Injector> entry : methodInjectors.entrySet()) {
renderer.addInjector(entry.getKey(), entry.getValue());
}