Remove redundant modifiers

GitOrigin-RevId: 55dd69efb00c53f654570d9e805f6bac4c8efefb
This commit is contained in:
Tagir Valeev
2022-02-16 15:42:28 +07:00
committed by intellij-monorepo-bot
parent 661016e09d
commit 3909381f18
4 changed files with 6 additions and 7 deletions

View File

@@ -22,9 +22,9 @@ import org.jetbrains.annotations.NotNull;
*/
public final class PolicyOptions {
private static final transient InsertWhere[] newMethodOptions = {InsertWhere.AT_CARET, InsertWhere.AFTER_EQUALS_AND_HASHCODE, InsertWhere.AT_THE_END_OF_A_CLASS};
private static final InsertWhere[] newMethodOptions = {InsertWhere.AT_CARET, InsertWhere.AFTER_EQUALS_AND_HASHCODE, InsertWhere.AT_THE_END_OF_A_CLASS};
private static final transient DuplicationPolicy[] conflictOptions = {DuplicationPolicy.ASK, DuplicationPolicy.REPLACE, DuplicationPolicy.DUPLICATE};
private static final DuplicationPolicy[] conflictOptions = {DuplicationPolicy.ASK, DuplicationPolicy.REPLACE, DuplicationPolicy.DUPLICATE};
private PolicyOptions() {}

View File

@@ -65,4 +65,4 @@ class RunnableStatusListener implements DaemonCodeAnalyzer.DaemonListener {
return true;
}
}
interface I { public static void main(String[] args) { }}
interface I { static void main(String[] args) { }}

View File

@@ -38,6 +38,5 @@ public interface EventLogSettingsService {
@NotNull
EventLogApplicationInfo getApplicationInfo();
@NotNull
public Map<String, String> getOptions();
@NotNull Map<String, String> getOptions();
}

View File

@@ -850,8 +850,8 @@ public class DeprecatedDependencyResolver implements DependencyResolver {
All usages were inlined to keep code compatibility with JDK 1.6
*/
// inlined guava method for compatibility
private static interface MyPredicate<T> {
public boolean apply(@Nullable T input);
private interface MyPredicate<T> {
boolean apply(@Nullable T input);
}
// inlined guava field for compatibility
private static final MyPredicate<?> IS_NOT_NULL = new MyPredicate<Object>() {