From 66cf1ac7c8087092e3f78a7e8ec114b7cb798907 Mon Sep 17 00:00:00 2001 From: Edward Mezarina Date: Tue, 17 Oct 2023 09:11:30 -0400 Subject: [PATCH] Code review udpate --- .../{AbtractJavaContext.java => AbstractJavaContext.java} | 4 ++-- .../jdt/core/java/codeaction/JavaCodeActionContext.java | 4 ++-- .../jdt/core/java/completion/JavaCompletionContext.java | 4 ++-- .../jdt/core/java/definition/JavaDefinitionContext.java | 4 ++-- .../jdt/core/java/diagnostics/JavaDiagnosticsContext.java | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) rename jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/{AbtractJavaContext.java => AbstractJavaContext.java} (95%) diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/AbtractJavaContext.java b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/AbstractJavaContext.java similarity index 95% rename from jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/AbtractJavaContext.java rename to jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/AbstractJavaContext.java index 2fe38a86..a7d195f5 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/AbtractJavaContext.java +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/AbstractJavaContext.java @@ -29,7 +29,7 @@ * @author Angelo ZERR * */ -public abstract class AbtractJavaContext { +public abstract class AbstractJavaContext { private final String uri; @@ -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; diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/codeaction/JavaCodeActionContext.java b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/codeaction/JavaCodeActionContext.java index 3279a1b8..439ae6f2 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/codeaction/JavaCodeActionContext.java +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/codeaction/JavaCodeActionContext.java @@ -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; @@ -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; diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/completion/JavaCompletionContext.java b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/completion/JavaCompletionContext.java index 174520d4..2c7e7dbf 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/completion/JavaCompletionContext.java +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/completion/JavaCompletionContext.java @@ -14,7 +14,7 @@ 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; /** @@ -22,7 +22,7 @@ * * @author datho7561 */ -public class JavaCompletionContext extends AbtractJavaContext { +public class JavaCompletionContext extends AbstractJavaContext { private int offset; diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/definition/JavaDefinitionContext.java b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/definition/JavaDefinitionContext.java index 07541e6d..6a8c25cf 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/definition/JavaDefinitionContext.java +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/definition/JavaDefinitionContext.java @@ -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; /** @@ -25,7 +25,7 @@ * @author Angelo ZERR * */ -public class JavaDefinitionContext extends AbtractJavaContext { +public class JavaDefinitionContext extends AbstractJavaContext { private final IJavaElement hyperlinkedElement; diff --git a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/diagnostics/JavaDiagnosticsContext.java b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/diagnostics/JavaDiagnosticsContext.java index f6307681..4f017f79 100644 --- a/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/diagnostics/JavaDiagnosticsContext.java +++ b/jakarta.jdt/org.eclipse.lsp4jakarta.jdt.core/src/main/java/org/eclipse/lsp4jakarta/jdt/core/java/diagnostics/JavaDiagnosticsContext.java @@ -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; /** @@ -30,7 +30,7 @@ * @author Angelo ZERR * */ -public class JavaDiagnosticsContext extends AbtractJavaContext { +public class JavaDiagnosticsContext extends AbstractJavaContext { private final DocumentFormat documentFormat;