From 11ef1f78d0f75830640f797f19df0f28340eff46 Mon Sep 17 00:00:00 2001 From: Dmitry Avdeev Date: Fri, 30 Sep 2011 13:01:16 +0400 Subject: [PATCH] inspections as extension points --- plugins/android/src/META-INF/plugin.xml | 6 +++- .../AndroidInspectionToolProvider.java | 32 ------------------- 2 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 plugins/android/src/org/jetbrains/android/inspections/AndroidInspectionToolProvider.java diff --git a/plugins/android/src/META-INF/plugin.xml b/plugins/android/src/META-INF/plugin.xml index 802f5e31bad6..68cb7f33cd71 100644 --- a/plugins/android/src/META-INF/plugin.xml +++ b/plugins/android/src/META-INF/plugin.xml @@ -129,7 +129,11 @@ org.jetbrains.android.intentions.AndroidAddStringResourceAction - + + + diff --git a/plugins/android/src/org/jetbrains/android/inspections/AndroidInspectionToolProvider.java b/plugins/android/src/org/jetbrains/android/inspections/AndroidInspectionToolProvider.java deleted file mode 100644 index fac397ad3a8f..000000000000 --- a/plugins/android/src/org/jetbrains/android/inspections/AndroidInspectionToolProvider.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright 2000-2010 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. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.jetbrains.android.inspections; - -import com.intellij.codeInspection.InspectionToolProvider; - -/** - * Created by IntelliJ IDEA. - * User: Eugene.Kudelevsky - * Date: Jun 25, 2009 - * Time: 9:14:42 PM - * To change this template use File | Settings | File Templates. - */ -public class AndroidInspectionToolProvider implements InspectionToolProvider { - public Class[] getInspectionClasses() { - return new Class[]{AndroidDomInspection.class/*, AndroidUnknownAttributeInspection.class*/}; - } -}