From 81553fbfd7eaf4f4b927a792b58b7466cdb71cce Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Sat, 25 Sep 2021 04:53:24 +0000 Subject: [PATCH] Restyled by whitespace --- .../anbora/labs/firebase/ide/annotator/HighlightingAnnotator.kt | 2 +- .../firebase/ide/annotator/PathVariableHighlightAnnotator.kt | 2 +- .../co/anbora/labs/firebase/ide/editor/FirebaseQuoteHandler.kt | 2 +- .../firebase/ide/inspections/DuplicateFunctionsInspection.kt | 2 +- .../anbora/labs/firebase/ide/inspections/WeakRulesInspection.kt | 2 +- .../labs/firebase/lang/core/psi/FirebaseNameIdentifierOwner.kt | 2 +- .../anbora/labs/firebase/lang/core/psi/FirebaseNamedElement.kt | 2 +- .../co/anbora/labs/firebase/lang/core/psi/ext/PsiElement.kt | 2 +- .../lang/core/psi/impl/FirebaseNameIdentifierOwnerImpl.kt | 2 +- .../firebase/lang/core/psi/impl/FirebaseNamedElementImpl.kt | 2 +- .../labs/firebase/lang/core/psi/mixings/IdentifierMixing.kt | 2 +- .../inspectionDescriptions/DuplicateFunctionsDeclaration.html | 2 +- .../resources/inspectionDescriptions/FirebaseWeakRules.html | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/HighlightingAnnotator.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/HighlightingAnnotator.kt index 1d4afe8..9a309e8 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/HighlightingAnnotator.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/HighlightingAnnotator.kt @@ -1,4 +1,4 @@ package co.anbora.labs.firebase.ide.annotator class HighlightingAnnotator { -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/PathVariableHighlightAnnotator.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/PathVariableHighlightAnnotator.kt index 2e28671..bb3f9c5 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/PathVariableHighlightAnnotator.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/annotator/PathVariableHighlightAnnotator.kt @@ -35,4 +35,4 @@ class PathVariableHighlightAnnotator : FirebaseAnnotator() { } } } -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/editor/FirebaseQuoteHandler.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/editor/FirebaseQuoteHandler.kt index d0d373d..9ba8eee 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/editor/FirebaseQuoteHandler.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/editor/FirebaseQuoteHandler.kt @@ -3,4 +3,4 @@ package co.anbora.labs.firebase.ide.editor import co.anbora.labs.firebase.lang.core.psi.FirebaseRulesTypes.STRING import com.intellij.codeInsight.editorActions.SimpleTokenSetQuoteHandler -class FirebaseQuoteHandler: SimpleTokenSetQuoteHandler(STRING) \ No newline at end of file +class FirebaseQuoteHandler: SimpleTokenSetQuoteHandler(STRING) diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/DuplicateFunctionsInspection.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/DuplicateFunctionsInspection.kt index 64cce70..494ea13 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/DuplicateFunctionsInspection.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/DuplicateFunctionsInspection.kt @@ -46,4 +46,4 @@ private fun checkPathVariable(element: FirebaseRulesFullPathStatement, holder: P private fun markDuplicate(element: FirebaseElement, holder: ProblemsHolder) { holder.registerProblem(element, "Duplicate definitions with name `${element.text}`", ProblemHighlightType.ERROR) -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/WeakRulesInspection.kt b/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/WeakRulesInspection.kt index d1198e3..c1f2743 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/WeakRulesInspection.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/ide/inspections/WeakRulesInspection.kt @@ -30,4 +30,4 @@ private fun checkWeakRule(element: FirebaseRulesConditionalBlock, holder: Proble if (booleanStm?.text == FIREBASE_TRUE) { holder.registerProblem(booleanStm, "Weak rule, this is not recommended for production environments.", ProblemHighlightType.WEAK_WARNING) } -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNameIdentifierOwner.kt b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNameIdentifierOwner.kt index 9b6ba8d..e3567ef 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNameIdentifierOwner.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNameIdentifierOwner.kt @@ -3,4 +3,4 @@ package co.anbora.labs.firebase.lang.core.psi import com.intellij.psi.PsiNameIdentifierOwner interface FirebaseNameIdentifierOwner : FirebaseNamedElement, - PsiNameIdentifierOwner \ No newline at end of file + PsiNameIdentifierOwner diff --git a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNamedElement.kt b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNamedElement.kt index 491237e..58137c1 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNamedElement.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/FirebaseNamedElement.kt @@ -12,4 +12,4 @@ interface FirebaseNamedElement : FirebaseElement, val nameElement: PsiElement? get() = findLastChildByType(IDENTIFIER) -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/ext/PsiElement.kt b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/ext/PsiElement.kt index 2fb8c86..b8485c6 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/ext/PsiElement.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/ext/PsiElement.kt @@ -14,4 +14,4 @@ fun PsiElement.childrenByType(type: IElementType): Sequence = childrenWithLeaves.filter { it.elementType == type } fun PsiElement.findLastChildByType(type: IElementType): PsiElement? = - childrenByType(type).lastOrNull() \ No newline at end of file + childrenByType(type).lastOrNull() diff --git a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNameIdentifierOwnerImpl.kt b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNameIdentifierOwnerImpl.kt index c545811..91f1288 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNameIdentifierOwnerImpl.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNameIdentifierOwnerImpl.kt @@ -8,4 +8,4 @@ abstract class FirebaseNameIdentifierOwnerImpl( node: ASTNode ) : FirebaseNamedElementImpl(node), FirebaseNameIdentifierOwner { override fun getNameIdentifier(): PsiElement? = nameElement -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNamedElementImpl.kt b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNamedElementImpl.kt index 531274a..742e0c7 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNamedElementImpl.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/impl/FirebaseNamedElementImpl.kt @@ -18,4 +18,4 @@ abstract class FirebaseNamedElementImpl( override fun getNavigationElement(): PsiElement = nameElement ?: this override fun getTextOffset(): Int = nameElement?.textOffset ?: super.getTextOffset() -} \ No newline at end of file +} diff --git a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/mixings/IdentifierMixing.kt b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/mixings/IdentifierMixing.kt index 4959b75..7b1e5ff 100644 --- a/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/mixings/IdentifierMixing.kt +++ b/src/main/kotlin/co/anbora/labs/firebase/lang/core/psi/mixings/IdentifierMixing.kt @@ -5,4 +5,4 @@ import co.anbora.labs.firebase.lang.core.psi.impl.FirebaseNameIdentifierOwnerImp import com.intellij.lang.ASTNode abstract class IdentifierMixing(node: ASTNode): FirebaseNameIdentifierOwnerImpl(node), FirebaseRulesIdentifierExpr { -} \ No newline at end of file +} diff --git a/src/main/resources/inspectionDescriptions/DuplicateFunctionsDeclaration.html b/src/main/resources/inspectionDescriptions/DuplicateFunctionsDeclaration.html index 510d13a..3b6f77a 100644 --- a/src/main/resources/inspectionDescriptions/DuplicateFunctionsDeclaration.html +++ b/src/main/resources/inspectionDescriptions/DuplicateFunctionsDeclaration.html @@ -2,4 +2,4 @@ Multiple functions has the same name and arguments. - \ No newline at end of file + diff --git a/src/main/resources/inspectionDescriptions/FirebaseWeakRules.html b/src/main/resources/inspectionDescriptions/FirebaseWeakRules.html index 57904e0..cf28500 100644 --- a/src/main/resources/inspectionDescriptions/FirebaseWeakRules.html +++ b/src/main/resources/inspectionDescriptions/FirebaseWeakRules.html @@ -4,4 +4,4 @@ See https://firebase.google.com/docs/rules/rules-behavior. - \ No newline at end of file +