activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/4] activemq-artemis git commit: Add IDEA inspection settings, flag missing @Override as error
Date Wed, 21 Sep 2016 20:45:04 GMT
Add IDEA inspection settings, flag missing @Override as error


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/53293115
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/53293115
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/53293115

Branch: refs/heads/master
Commit: 53293115709c98036914576e16a8148adf504604
Parents: 02a7ac2
Author: Ville Skyttä <ville.skytta@iki.fi>
Authored: Wed Sep 21 13:30:52 2016 +0300
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Sep 21 16:31:14 2016 -0400

----------------------------------------------------------------------
 docs/hacking-guide/en/ide.md                  | 8 +++++++-
 etc/ide-settings/IDEA-artemis-inspections.xml | 8 ++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/53293115/docs/hacking-guide/en/ide.md
----------------------------------------------------------------------
diff --git a/docs/hacking-guide/en/ide.md b/docs/hacking-guide/en/ide.md
index f38fb81..88435a5 100644
--- a/docs/hacking-guide/en/ide.md
+++ b/docs/hacking-guide/en/ide.md
@@ -36,7 +36,7 @@ After you add the JDK to the IDE, add also the vm.jar specific to your platform
 
 There's a [SOF Question](http://stackoverflow.com/questions/27906481/can-intellij-14-be-used-to-work-with-ibm-jdk-1-7/32852361#32852361)
about this that could be useful in case you are running into this issue.
 
-### Style Templates for Idea
+### Style Templates and Inspection Settings for Idea
 
 We have shared the style templates that are good for this project. If you want to apply them
use these steps:
 
@@ -45,6 +45,12 @@ We have shared the style templates that are good for this project. If you
want t
 * Select both Code Style Templates and File templates (it's the default option)
 * Select OK and restart Idea
 
+Similarly, to import inspection settings:
+
+* File->Settings->Editor->Inspections->Manage->Import
+* Select the file ./artemis-cloned-folder/etc/ide-settings/IDEA-artemis-inspections.xml
+* Select OK
+
 ### Issue: My JUnit tests are not runnable with in the IDE.
 
 If the "Run <classname>" or "Run all tests" option is not present.  It is likely that
the default profile has not been

http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/53293115/etc/ide-settings/IDEA-artemis-inspections.xml
----------------------------------------------------------------------
diff --git a/etc/ide-settings/IDEA-artemis-inspections.xml b/etc/ide-settings/IDEA-artemis-inspections.xml
new file mode 100644
index 0000000..c6ec80b
--- /dev/null
+++ b/etc/ide-settings/IDEA-artemis-inspections.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inspections version="1.0">
+  <option name="myName" value="Artemis" />
+  <inspection_tool class="MissingOverrideAnnotation" enabled="true" level="ERROR" enabled_by_default="true">
+    <option name="ignoreObjectMethods" value="false" />
+    <option name="ignoreAnonymousClassMethods" value="false" />
+  </inspection_tool>
+</inspections>


Mime
View raw message