Skip to content

Commit

Permalink
Merge pull request #45 from Roenke/api-compatibility
Browse files Browse the repository at this point in the history
Remove usage of an old API
  • Loading branch information
bibaev authored Jun 23, 2017
2 parents 2c2b9d3 + fb4e11c commit a73443b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ apply plugin: 'java'
apply plugin: "kotlin"

group 'com.intellij.debugger.stream'
version '0.1.2'
version '0.1.3'

intellij {
type = 'IC'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ object LambdaToAnonymousTransformer : PsiElementTransformer.Base() {
parent.replace(operand!!)
}

JavaCodeStyleManager.getInstance(project).qualifyClassReferences(anonymousClass);
JavaCodeStyleManager.getInstance(project).qualifyClassReferences(anonymousClass)
}
}
}
Expand Down Expand Up @@ -177,7 +177,6 @@ object LambdaToAnonymousTransformer : PsiElementTransformer.Base() {
}
val functionalInterfaceType = lambdaExpression.functionalInterfaceType
if (functionalInterfaceType != null &&
LambdaUtil.isLambdaFullyInferred(lambdaExpression, functionalInterfaceType) &&
LambdaUtil.isFunctionalType(functionalInterfaceType)) {
val interfaceMethod = LambdaUtil.getFunctionalInterfaceMethod(functionalInterfaceType)
if (interfaceMethod != null) {
Expand Down
6 changes: 5 additions & 1 deletion src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<idea-plugin>
<id>org.jetbrains.debugger.streams</id>
<name>Java Stream Debugger</name>
<version>0.1.2</version>
<version>0.1.3</version>
<vendor url="https://www.jetbrains.com">JetBrains</vendor>

<description><![CDATA[
Expand Down Expand Up @@ -34,6 +34,10 @@
]]></description>

<change-notes><![CDATA[
0.1.3 <br>
<ul>
<li> Remove usage of unsupported API </li>
</ul>
0.1.2 <br>
<ul>
<li> Add transitions for toArray/collect/find*/*Match terminal methods </li>
Expand Down

0 comments on commit a73443b

Please sign in to comment.