Skip to content

Commit

Permalink
chore(deps): upgraded kotlin linter formatted code
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lopes-optimizely committed Jul 19, 2023
1 parent a7e8dc4 commit a390471
Show file tree
Hide file tree
Showing 5 changed files with 2,921 additions and 3,890 deletions.
8 changes: 4 additions & 4 deletions kotlin/src/main/com/looker/rtl/ErrorDoc.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ErrorDocItem(var url: String)
/** Structure of the error code document index */
typealias ErrorCodeIndex = HashMap<String, ErrorDocItem>

interface IErrorDocLink {
interface IErrorDocLink {
/** base redirector url */
var redirector: String
/** api version of the error link */
Expand All @@ -39,9 +39,9 @@ typealias ErrorCodeIndex = HashMap<String, ErrorDocItem>
var statusCode: String
/** REST API Path */
var apiPath: String
}
}

interface IErrorDoc {
interface IErrorDoc {
/** Index of all known error codes. Call load() to populate it */
var index: ErrorCodeIndex?

Expand Down Expand Up @@ -103,7 +103,7 @@ typealias ErrorCodeIndex = HashMap<String, ErrorDocItem>
* @param errorMdUrl url for the error document
*/
fun methodName(errorMdUrl: String): String
}
}

/** Class to process Looker API error payloads and retrieve error documentation */
class ErrorDoc(val sdk: APIMethods, val cdnUrl: String = ErrorCodesUrl): IErrorDoc {
Expand Down

0 comments on commit a390471

Please sign in to comment.