Skip to content

Commit

Permalink
Code review udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
mezarin committed Oct 17, 2023
1 parent 30ec18f commit 66cf1ac
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* @author Angelo ZERR
*
*/
public abstract class AbtractJavaContext {
public abstract class AbstractJavaContext {

private final String uri;

Expand All @@ -41,7 +41,7 @@ public abstract class AbtractJavaContext {

private CompilationUnit fASTRoot;

public AbtractJavaContext(String uri, ITypeRoot typeRoot, IJDTUtils utils) {
public AbstractJavaContext(String uri, ITypeRoot typeRoot, IJDTUtils utils) {
this.uri = uri;
this.typeRoot = typeRoot;
this.utils = utils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.eclipse.lsp4j.Diagnostic;
import org.eclipse.lsp4j.WorkspaceEdit;
import org.eclipse.lsp4jakarta.commons.JakartaJavaCodeActionParams;
import org.eclipse.lsp4jakarta.jdt.core.java.AbtractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.java.AbstractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.java.corrections.proposal.ChangeCorrectionProposal;
import org.eclipse.lsp4jakarta.jdt.core.utils.IJDTUtils;
import org.eclipse.lsp4jakarta.jdt.internal.core.java.ChangeUtil;
Expand All @@ -35,7 +35,7 @@
* @author Angelo ZERR
*
*/
public class JavaCodeActionContext extends AbtractJavaContext implements IInvocationContext {
public class JavaCodeActionContext extends AbstractJavaContext implements IInvocationContext {

private final int selectionOffset;
private final int selectionLength;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
package org.eclipse.lsp4jakarta.jdt.core.java.completion;

import org.eclipse.jdt.core.ITypeRoot;
import org.eclipse.lsp4jakarta.jdt.core.java.AbtractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.java.AbstractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.utils.IJDTUtils;

/**
* Represents the context of where completion was triggered
*
* @author datho7561
*/
public class JavaCompletionContext extends AbtractJavaContext {
public class JavaCompletionContext extends AbstractJavaContext {

private int offset;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.ITypeRoot;
import org.eclipse.lsp4j.Position;
import org.eclipse.lsp4jakarta.jdt.core.java.AbtractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.java.AbstractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.utils.IJDTUtils;

/**
Expand All @@ -25,7 +25,7 @@
* @author Angelo ZERR
*
*/
public class JavaDefinitionContext extends AbtractJavaContext {
public class JavaDefinitionContext extends AbstractJavaContext {

private final IJavaElement hyperlinkedElement;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.eclipse.lsp4j.Range;
import org.eclipse.lsp4jakarta.commons.DocumentFormat;
import org.eclipse.lsp4jakarta.commons.JakartaJavaDiagnosticsSettings;
import org.eclipse.lsp4jakarta.jdt.core.java.AbtractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.java.AbstractJavaContext;
import org.eclipse.lsp4jakarta.jdt.core.utils.IJDTUtils;

/**
Expand All @@ -30,7 +30,7 @@
* @author Angelo ZERR
*
*/
public class JavaDiagnosticsContext extends AbtractJavaContext {
public class JavaDiagnosticsContext extends AbstractJavaContext {

private final DocumentFormat documentFormat;

Expand Down

0 comments on commit 66cf1ac

Please sign in to comment.