From 780bd1944765659e1f82d757e538feac6e81ce2b Mon Sep 17 00:00:00 2001 From: Alexey Kudravtsev Date: Mon, 20 Apr 2015 19:06:18 +0300 Subject: [PATCH] cleanup --- .../src/com/intellij/concurrency/FinallyFuture.java | 4 ++-- .../codeInspection/actions/CodeInspectionAction.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/core-api/src/com/intellij/concurrency/FinallyFuture.java b/platform/core-api/src/com/intellij/concurrency/FinallyFuture.java index c392106befaa..3533249d3a1a 100644 --- a/platform/core-api/src/com/intellij/concurrency/FinallyFuture.java +++ b/platform/core-api/src/com/intellij/concurrency/FinallyFuture.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2012 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -78,7 +78,7 @@ public class FinallyFuture implements AsyncFuture { } @Override - public void onFailure(Throwable t) { + public void onFailure(@NotNull Throwable t) { try { myFinallyBlock.execute(); } diff --git a/platform/lang-impl/src/com/intellij/codeInspection/actions/CodeInspectionAction.java b/platform/lang-impl/src/com/intellij/codeInspection/actions/CodeInspectionAction.java index 728137b9c7eb..3c5c9ca8030e 100644 --- a/platform/lang-impl/src/com/intellij/codeInspection/actions/CodeInspectionAction.java +++ b/platform/lang-impl/src/com/intellij/codeInspection/actions/CodeInspectionAction.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2015 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -46,8 +46,8 @@ import java.util.Collection; import java.util.TreeSet; public class CodeInspectionAction extends BaseAnalysisAction { - private GlobalInspectionContextImpl myGlobalInspectionContext = null; - protected InspectionProfile myExternalProfile = null; + private GlobalInspectionContextImpl myGlobalInspectionContext; + protected InspectionProfile myExternalProfile; public CodeInspectionAction() { super(InspectionsBundle.message("inspection.action.title"), InspectionsBundle.message("inspection.action.noun"));