Enum entry delimiters / super constructors: a few remaining warnings removed

This commit is contained in:
Mikhail Glukhikh
2015-05-19 16:45:11 +03:00
parent 5b14d5be28
commit 1389b62fa4
3 changed files with 6 additions and 6 deletions
@@ -17,6 +17,6 @@
package org.jetbrains.kotlin.resolve package org.jetbrains.kotlin.resolve
public enum class TopDownAnalysisMode(public val isLocalDeclarations: Boolean) { public enum class TopDownAnalysisMode(public val isLocalDeclarations: Boolean) {
LocalDeclarations : TopDownAnalysisMode(true) LocalDeclarations(true),
TopLevelDeclarations : TopDownAnalysisMode(false) TopLevelDeclarations(false)
} }
+2 -2
View File
@@ -43,7 +43,7 @@ public enum class InlineStrategy {
* Specifies that the body of the inline function together with the bodies of the lambdas passed to it * Specifies that the body of the inline function together with the bodies of the lambdas passed to it
* is generated as a separate method invoked from the calling function. * is generated as a separate method invoked from the calling function.
*/ */
AS_FUNCTION AS_FUNCTION,
/** /**
* Specifies that the body of the inline function together with the bodies of the lambdas passed to it * Specifies that the body of the inline function together with the bodies of the lambdas passed to it
@@ -71,7 +71,7 @@ public enum class InlineOption {
/** /**
* This option hasn't been implemented yet. * This option hasn't been implemented yet.
*/ */
LOCAL_CONTINUE_AND_BREAK LOCAL_CONTINUE_AND_BREAK,
/** /**
* If this option is specified, lambdas may not use non-local return statements (statements which return from * If this option is specified, lambdas may not use non-local return statements (statements which return from
+2 -2
View File
@@ -24,12 +24,12 @@ import java.util.ArrayList
*/ */
public enum class RegexOption(val value: String) { public enum class RegexOption(val value: String) {
/** Enables case-insensitive matching. */ /** Enables case-insensitive matching. */
IGNORE_CASE : RegexOption("i") IGNORE_CASE("i"),
/** Enables multiline mode. /** Enables multiline mode.
* *
* In multiline mode the expressions `^` and `$` match just after or just before, * In multiline mode the expressions `^` and `$` match just after or just before,
* respectively, a line terminator or the end of the input sequence. */ * respectively, a line terminator or the end of the input sequence. */
MULTILINE : RegexOption("m") MULTILINE("m")
} }