Skip to content

Commit

Permalink
Fix build after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Mäder <tmader@redhat.com>
  • Loading branch information
tsmaeder committed Oct 12, 2018
1 parent 1e855a9 commit eb7cce4
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 356 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ public JdbLocation(JavaLanguageServerExtensionService languageServer, StackFrame
this(languageServer, stackFrame, new JdbMethod(stackFrame));
}

public JdbLocation(Location internal, Method method) {
this.method = method;
this.internal = internal;
this.jdiStackFrame = null;
}

/**
* Intends to create location when thread is not suspended. Information concerning thread and
* frame are not available.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (c) 2012-2018 Red Hat, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Red Hat, Inc. - initial API and implementation
*/
package org.eclipse.che.plugin.languageserver.ide.service;

import org.eclipse.che.api.core.jsonrpc.commons.JsonRpcError;
import org.eclipse.che.api.core.jsonrpc.commons.JsonRpcException;
import org.eclipse.che.api.promises.client.PromiseError;

public class ServiceUtil {
private ServiceUtil() {}

public static PromiseError getPromiseError(JsonRpcError jsonRpcError) {
return new PromiseError() {
@Override
public String getMessage() {
return jsonRpcError.getMessage();
}

@Override
public Throwable getCause() {
return new JsonRpcException(jsonRpcError.getCode(), jsonRpcError.getMessage());
}
};
}
}

This file was deleted.

Loading

0 comments on commit eb7cce4

Please sign in to comment.