Skip to content

Commit

Permalink
Version 1.2.7 - Update to idea 2023.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GregHib committed May 15, 2023
1 parent 2a4e604 commit 6cf11a2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group 'world.gregs.intellij.plugins'
version '1.2.6'
version '1.2.7'

repositories {
mavenCentral()
Expand All @@ -31,13 +31,13 @@ processResources {

intellij {
updateSinceUntilBuild = false
version = "2021.1"
version = "231.8770.65"
type = "IC"
plugins = ["java"]
}

patchPluginXml {
changeNotes = """
Updated to support 2021.1 and future versions
Updated to support 2023.1
"""
}
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class PointlessBitwiseComparatorInspection : BaseInspection() {
}

private fun isHex(expression: PsiExpression?): Boolean {
return expression != null && (expression.type == PsiType.INT && expression.text == "0xffffffff" || expression.type == PsiType.LONG && expression.text == "0xffffffffffffffffL")
return expression != null && (expression.type == PsiTypes.intType() && expression.text == "0xffffffff" || expression.type == PsiTypes.longType() && expression.text == "0xffffffffffffffffL")
}

private fun isBitwiseOperator(express: PsiExpression?): Boolean {
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- uncomment to enable plugin in all products
<depends>com.intellij.modules.lang</depends>
-->
<idea-version since-build="203"/>
<idea-version since-build="231"/>

<depends>com.intellij.modules.java</depends>

Expand Down

0 comments on commit 6cf11a2

Please sign in to comment.