File tree Expand file tree Collapse file tree 2 files changed +7
-12
lines changed
jetbrains-core/src/software/aws/toolkits/jetbrains/core/notification Expand file tree Collapse file tree 2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " deprecation" ,
3
+ "description" : " 2020.1 support will be removed in the next release"
4
+ }
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ import com.intellij.openapi.application.ApplicationNamesInfo
9
9
import software.aws.toolkits.resources.message
10
10
11
11
class JetBrainsMinimumVersionChange : NoticeType {
12
- override val id: String = " JetBrainsMinimumVersion_201 "
12
+ override val id: String = " JetBrainsMinimumVersion_202 "
13
13
private val noticeContents = NoticeContents (
14
14
message(" notice.title.jetbrains.minimum.version" ),
15
15
message(
16
16
" notice.message.jetbrains.minimum.version" ,
17
17
ApplicationInfo .getInstance().fullVersion,
18
18
ApplicationNamesInfo .getInstance().fullProductName,
19
- " 2020.1 "
19
+ " 2020.2 "
20
20
)
21
21
)
22
22
@@ -29,16 +29,7 @@ class JetBrainsMinimumVersionChange : NoticeType {
29
29
return false
30
30
}
31
31
32
- override fun isNotificationRequired (): Boolean {
33
- val appInfo = ApplicationInfo .getInstance()
34
- val majorVersion = appInfo.majorVersion.toIntOrNull()
35
-
36
- majorVersion?.let {
37
- return majorVersion < 2020
38
- }
39
-
40
- return true
41
- }
32
+ override fun isNotificationRequired (): Boolean = ApplicationInfo .getInstance().build.baselineVersion < 202
42
33
43
34
override fun getNoticeContents (): NoticeContents = noticeContents
44
35
override fun getNoticeType (): NotificationType = NotificationType .WARNING
You can’t perform that action at this time.
0 commit comments