Skip to content

Commit

Permalink
Non-functional change: fixes formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ndrade committed Apr 1, 2019
1 parent 056e666 commit ba074d3
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
steps:
- name: 'eviles/alpine-oracle-jdk8'
args: ['bash', './gradlew', 'build']
- name: 'eviles/alpine-oracle-jdk8'
args: ['bash', './gradlew', 'build']
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ private static String getText(PsiElement element) {
/**
* Different types of completions
*/
private enum CompletionContributionType {
/**
private enum CompletionContributionType {/**
* Local variable completions
*/
LOCAL {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.appian.intellij.k.struct;

import org.jetbrains.annotations.NotNull;

import com.appian.intellij.k.psi.KNamedElement;
import com.intellij.ide.IdeBundle;
import com.intellij.ide.util.treeView.smartTree.ActionPresentation;
Expand All @@ -8,8 +10,6 @@
import com.intellij.ide.util.treeView.smartTree.TreeElement;
import com.intellij.util.PlatformIcons;

import org.jetbrains.annotations.NotNull;

public class KPublicItemsFilter implements Filter {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ public boolean canNavigateToSource() {

@Override
public int getAccessLevel() {
return (element instanceof KNamedElement) ? ((KNamedElement)element).getAccessLevel() : KNamedElement.UNKNOWN_ACCESS_LEVEL;
return (element instanceof KNamedElement)
? ((KNamedElement)element).getAccessLevel()
: KNamedElement.UNKNOWN_ACCESS_LEVEL;
}

@Override
Expand Down
6 changes: 3 additions & 3 deletions src/test/java/com/appian/intellij/k/CompletionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ protected String getTestDataPath() {
}

public void testGlobals() {
testCompletion(new String[] {"globals1.k", "globals2.k"}, "square", "save", "scan", "scov",
"sdev", "select", "set", "setenv", "show", "signum", "sin", "sqrt", "ss", "ssr", "string", "sublist",
"sum", "sums", "sv", "svar", "system", "someFnInDefaultNsInAnotherFile");
testCompletion(new String[] {"globals1.k", "globals2.k"}, "square", "save", "scan", "scov", "sdev", "select", "set",
"setenv", "show", "signum", "sin", "sqrt", "ss", "ssr", "string", "sublist", "sum", "sums", "sv", "svar",
"system", "someFnInDefaultNsInAnotherFile");
}

public void testSystemFns_k_k() {
Expand Down

0 comments on commit ba074d3

Please sign in to comment.