mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] a typo in update channel licensing attribute default value
related: IJ-SCRIPTS-CR-19
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -41,12 +41,12 @@ class Product(node: Element) {
|
||||
class UpdateChannel(node: Element) {
|
||||
companion object {
|
||||
const val LICENSING_EAP = "eap"
|
||||
const val LICENSING_PRODUCTION = "production"
|
||||
const val LICENSING_RELEASE = "release"
|
||||
}
|
||||
|
||||
val id: String = node.getAttributeValue("id") ?: throw JDOMException("channel@id missing")
|
||||
val status: ChannelStatus = ChannelStatus.fromCode(node.getAttributeValue("status"))
|
||||
val licensing: String = node.getAttributeValue("licensing", LICENSING_PRODUCTION)
|
||||
val licensing: String = node.getAttributeValue("licensing", LICENSING_RELEASE)
|
||||
val evalDays: Int = node.getAttributeValue("evalDays")?.toInt() ?: 30
|
||||
val builds: List<BuildInfo> = node.getChildren("build").map(::BuildInfo)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user