Skip to content

Commit

Permalink
Update to use 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ze committed Feb 3, 2022
1 parent b28cc9a commit 53f216c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions idea_plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
*/

plugins {
id "org.jetbrains.intellij" version "1.3.0"
id "org.jetbrains.intellij" version "1.3.1"
}

repositories {
mavenCentral()
}

ext {
googleJavaFormatVersion = '1.13.0'
googleJavaFormatVersion = "1.13.0"
}

apply plugin: "org.jetbrains.intellij"
Expand All @@ -35,7 +35,7 @@ targetCompatibility = JavaVersion.VERSION_11
intellij {
pluginName = "google-java-format"
plugins = ["java"]
version = "2020.3"
version = "221.3427-EAP-CANDIDATE-SNAPSHOT"
}

patchPluginXml {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void reformatText(@NotNull PsiFile file, int startOffset, int endOffset)
}

@Override
public void reformatText(@NotNull PsiFile file, @NotNull Collection<TextRange> ranges)
public void reformatText(@NotNull PsiFile file, @NotNull Collection<? extends TextRange> ranges)
throws IncorrectOperationException {
delegate.reformatText(file, ranges);
}
Expand All @@ -104,7 +104,7 @@ public void reformatTextWithContext(
}

@Override
public void reformatTextWithContext(@NotNull PsiFile file, @NotNull Collection<TextRange> ranges)
public void reformatTextWithContext(@NotNull PsiFile file, @NotNull Collection<? extends TextRange> ranges)
throws IncorrectOperationException {
delegate.reformatTextWithContext(file, ranges);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public void reformatText(@NotNull PsiFile file, int startOffset, int endOffset)
}

@Override
public void reformatText(@NotNull PsiFile file, @NotNull Collection<TextRange> ranges)
public void reformatText(@NotNull PsiFile file, @NotNull Collection<? extends TextRange> ranges)
throws IncorrectOperationException {
if (overrideFormatterForFile(file)) {
formatInternal(file, ranges);
Expand All @@ -85,7 +85,7 @@ public void reformatTextWithContext(@NotNull PsiFile file, @NotNull ChangedRange

@Override
public void reformatTextWithContext(
@NotNull PsiFile file, @NotNull Collection<TextRange> ranges) {
@NotNull PsiFile file, @NotNull Collection<? extends TextRange> ranges) {
if (overrideFormatterForFile(file)) {
formatInternal(file, ranges);
} else {
Expand Down

0 comments on commit 53f216c

Please sign in to comment.