Permalink
Browse files

RoboGuice project now passes checkstyle

  • Loading branch information...
stephanenicolas committed Jan 18, 2014
1 parent ecc3dfb commit 94a6d2e735deab377c805659ab659488d9200707
Showing with 1,568 additions and 880 deletions.
  1. +1 −1 astroboy/src/test/java/org/roboguice/astroboy/controller/Astroboy2Test.java
  2. +58 −1 pom.xml
  3. +10 −0 roboguice/.checkstyle
  4. +25 −2 roboguice/.settings/org.eclipse.jdt.core.prefs
  5. +55 −3 roboguice/.settings/org.eclipse.jdt.ui.prefs
  6. +48 −0 roboguice/pom.xml
  7. +24 −23 roboguice/src/main/java/roboguice/RoboGuice.java
  8. +18 −11 roboguice/src/main/java/roboguice/activity/RoboAccountAuthenticatorActivity.java
  9. +22 −13 roboguice/src/main/java/roboguice/activity/RoboActionBarActivity.java
  10. +22 −13 roboguice/src/main/java/roboguice/activity/RoboActivity.java
  11. +18 −11 roboguice/src/main/java/roboguice/activity/RoboActivityGroup.java
  12. +18 −11 roboguice/src/main/java/roboguice/activity/RoboExpandableListActivity.java
  13. +18 −11 roboguice/src/main/java/roboguice/activity/RoboFragmentActivity.java
  14. +18 −11 roboguice/src/main/java/roboguice/activity/RoboLauncherActivity.java
  15. +18 −11 roboguice/src/main/java/roboguice/activity/RoboListActivity.java
  16. +18 −11 roboguice/src/main/java/roboguice/activity/RoboMapActivity.java
  17. +18 −11 roboguice/src/main/java/roboguice/activity/RoboPreferenceActivity.java
  18. +21 −13 roboguice/src/main/java/roboguice/activity/RoboSherlockAccountAuthenticatorActivity.java
  19. +14 −13 roboguice/src/main/java/roboguice/activity/RoboSherlockActivity.java
  20. +17 −12 roboguice/src/main/java/roboguice/activity/RoboSherlockFragmentActivity.java
  21. +11 −9 roboguice/src/main/java/roboguice/activity/RoboSherlockListActivity.java
  22. +12 −10 roboguice/src/main/java/roboguice/activity/RoboSherlockPreferenceActivity.java
  23. +6 −4 roboguice/src/main/java/roboguice/activity/RoboSplashActivity.java
  24. +18 −11 roboguice/src/main/java/roboguice/activity/RoboTabActivity.java
  25. +2 −1 roboguice/src/main/java/roboguice/activity/SherlockAccountAuthenticatorActivity.java
  26. +1 −1 roboguice/src/main/java/roboguice/activity/event/OnContentChangedEvent.java
  27. +1 −1 roboguice/src/main/java/roboguice/activity/event/OnNewIntentEvent.java
  28. +1 −1 roboguice/src/main/java/roboguice/activity/event/OnPauseEvent.java
  29. +1 −1 roboguice/src/main/java/roboguice/activity/event/OnResumeEvent.java
  30. +2 −2 roboguice/src/main/java/roboguice/activity/event/OnSaveInstanceStateEvent.java
  31. +1 −1 roboguice/src/main/java/roboguice/activity/event/OnStopEvent.java
  32. +3 −3 roboguice/src/main/java/roboguice/adapter/IterableAdapter.java
  33. +12 −8 roboguice/src/main/java/roboguice/config/DefaultRoboModule.java
  34. +1 −1 roboguice/src/main/java/roboguice/context/event/OnDestroyEvent.java
  35. +1 −1 roboguice/src/main/java/roboguice/event/EventListener.java
  36. +10 −5 roboguice/src/main/java/roboguice/event/EventManager.java
  37. +2 −2 roboguice/src/main/java/roboguice/event/Observes.java
  38. +3 −3 roboguice/src/main/java/roboguice/event/ObservesTypeListener.java
  39. +1 −1 roboguice/src/main/java/roboguice/event/eventListener/AsynchronousEventListenerDecorator.java
  40. +5 −4 roboguice/src/main/java/roboguice/event/eventListener/ObserverMethodListener.java
  41. +2 −2 roboguice/src/main/java/roboguice/event/eventListener/factory/EventListenerThreadingDecorator.java
  42. +7 −5 roboguice/src/main/java/roboguice/event/eventListener/javaassist/RuntimeSupport.java
  43. +7 −5 roboguice/src/main/java/roboguice/event/javaassist/RuntimeSupport.java
  44. +3 −2 roboguice/src/main/java/roboguice/inject/AccountManagerProvider.java
  45. +3 −3 roboguice/src/main/java/roboguice/inject/AssetManagerProvider.java
  46. +2 −2 roboguice/src/main/java/roboguice/inject/ContentView.java
  47. +2 −2 roboguice/src/main/java/roboguice/inject/ContentViewListener.java
  48. +8 −8 roboguice/src/main/java/roboguice/inject/ContextScope.java
  49. +2 −2 roboguice/src/main/java/roboguice/inject/ContextScopedProvider.java
  50. +15 −8 roboguice/src/main/java/roboguice/inject/ContextScopedRoboInjector.java
  51. +3 −3 roboguice/src/main/java/roboguice/inject/ContextScopedSystemServiceProvider.java
  52. +7 −5 roboguice/src/main/java/roboguice/inject/ContextSingleton.java
  53. +3 −1 roboguice/src/main/java/roboguice/inject/ExtraConverter.java
  54. +14 −9 roboguice/src/main/java/roboguice/inject/ExtrasListener.java
  55. +19 −0 roboguice/src/main/java/roboguice/inject/FragmentManagerProvider.java
  56. +2 −2 roboguice/src/main/java/roboguice/inject/HandlerProvider.java
  57. +3 −3 roboguice/src/main/java/roboguice/inject/InjectExtra.java
  58. +2 −2 roboguice/src/main/java/roboguice/inject/InjectFragment.java
  59. +3 −3 roboguice/src/main/java/roboguice/inject/InjectResource.java
  60. +2 −2 roboguice/src/main/java/roboguice/inject/InjectView.java
  61. +3 −3 roboguice/src/main/java/roboguice/inject/Nullable.java
  62. +7 −7 roboguice/src/main/java/roboguice/inject/PreferenceListener.java
  63. +2 −2 roboguice/src/main/java/roboguice/inject/ResourceFactory.java
  64. +9 −9 roboguice/src/main/java/roboguice/inject/ResourceListener.java
  65. +5 −5 roboguice/src/main/java/roboguice/inject/ResourcesProvider.java
  66. +2 −2 roboguice/src/main/java/roboguice/inject/RoboApplicationProvider.java
  67. +2 −2 roboguice/src/main/java/roboguice/inject/RoboInjector.java
  68. +5 −5 roboguice/src/main/java/roboguice/inject/SharedPreferencesProvider.java
  69. +2 −2 roboguice/src/main/java/roboguice/inject/StringResourceFactory.java
  70. +3 −3 roboguice/src/main/java/roboguice/inject/SystemServiceProvider.java
  71. +112 −112 roboguice/src/main/java/roboguice/inject/ViewListener.java
  72. +11 −9 roboguice/src/main/java/roboguice/receiver/RoboAppWidgetProvider.java
  73. +2 −1 roboguice/src/main/java/roboguice/receiver/RoboBroadcastReceiver.java
  74. +10 −8 roboguice/src/main/java/roboguice/service/RoboIntentService.java
  75. +9 −7 roboguice/src/main/java/roboguice/service/RoboService.java
  76. +4 −4 roboguice/src/main/java/roboguice/util/AndroidCallableWrapper.java
  77. +1 −2 roboguice/src/main/java/roboguice/util/Ln.java
  78. +6 −3 roboguice/src/main/java/roboguice/util/LnImpl.java
  79. +2 −2 roboguice/src/main/java/roboguice/util/RoboAsyncTask.java
  80. +2 −2 roboguice/src/main/java/roboguice/util/RoboContext.java
  81. +5 −2 roboguice/src/main/java/roboguice/util/SafeAsyncTask.java
  82. +76 −59 roboguice/src/main/java/roboguice/util/Strings.java
  83. +24 −20 roboguice/src/test/java/roboguice/RoboGuiceTest.java
  84. +94 −64 roboguice/src/test/java/roboguice/activity/ActivityInjectionTest.java
  85. +89 −48 roboguice/src/test/java/roboguice/activity/SherlockActivityInjectionTest.java
  86. +10 −8 roboguice/src/test/java/roboguice/application/ApplicationInjectionTest.java
  87. +36 −44 roboguice/src/test/java/roboguice/event/ContextObserverBase.java
  88. +5 −5 roboguice/src/test/java/roboguice/event/EventManagerTest.java
  89. +5 −4 roboguice/src/test/java/roboguice/event/ObserverReferenceTest.java
  90. +13 −8 roboguice/src/test/java/roboguice/event/ObservesTypeListenerTest.java
  91. +6 −2 roboguice/src/test/java/roboguice/event/eventListener/AsynchronousEventListenerDecoratorTest.java
  92. +6 −2 roboguice/src/test/java/roboguice/event/eventListener/EventListenerRunnableTest.java
  93. +5 −4 roboguice/src/test/java/roboguice/event/eventListener/EventListenerThreadingDecoratorTest.java
  94. +5 −2 roboguice/src/test/java/roboguice/event/eventListener/RunnableAsyncTaskAdaptorTest.java
  95. +15 −12 roboguice/src/test/java/roboguice/fragment/FragmentInjectionTest.java
  96. +10 −7 roboguice/src/test/java/roboguice/inject/ContextScopeTest.java
  97. +8 −6 roboguice/src/test/java/roboguice/inject/ExtrasListenerTest.java
  98. +5 −5 roboguice/src/test/java/roboguice/inject/NullableTest.java
  99. +10 −8 roboguice/src/test/java/roboguice/inject/ProviderTest.java
  100. +4 −2 roboguice/src/test/java/roboguice/inject/ResourceListenerTest.java
  101. +29 −24 roboguice/src/test/java/roboguice/inject/SharedPreferencesProviderTest.java
  102. +14 −11 roboguice/src/test/java/roboguice/service/ServiceInjectionTest.java
  103. +8 −7 roboguice/src/test/java/roboguice/util/AndroidCallableTest.java
  104. +3 −3 roboguice/src/test/java/roboguice/util/StringsTest.java
  105. +20 −12 roboguice/src/test/java/roboguice/view/ViewInjectionTest.java
  106. +1 −0 roboguice_checks.properties
  107. +189 −0 roboguice_checks.xml
  108. +10 −0 test_suppressions.xml
@@ -36,7 +36,7 @@ public void setup() {
@After
public void teardown() {
// Don't forget to tear down our custom injector to avoid polluting other test classes
- RoboGuice.util.reset();
+ RoboGuice.Util.reset();
}
@Test
View
59 pom.xml
@@ -37,11 +37,14 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.6</java.version>
-
+
<!-- PLUGINS -->
<android-maven-plugin.version>3.8.2</android-maven-plugin.version>
<maven-compiler-plugin.version>2.5.1</maven-compiler-plugin.version>
<lifecycle-mapping-plugin.version>1.0.0</lifecycle-mapping-plugin.version>
+ <maven-pmd-plugin.version>3.0.1</maven-pmd-plugin.version>
+ <findbugs-maven-plugin.version>2.5.2</findbugs-maven-plugin.version>
+ <maven-checkstyle-plugin.version>2.10</maven-checkstyle-plugin.version>
<!-- LIBRARIES -->
<android-platform.version>4.1.1.4</android-platform.version>
@@ -57,6 +60,60 @@
<build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <version>${maven-checkstyle-plugin.version}</version>
+ <configuration>
+ <configLocation>roboguice_checks.xml</configLocation>
+ <propertiesLocation>roboguice_checks.properties</propertiesLocation>
+ <enableRulesSummary>false</enableRulesSummary>
+ </configuration>
+ <executions>
+ <execution>
+ <id>checkstyle-check</id>
+ <phase>process-sources</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>${findbugs-maven-plugin.version}</version>
+ <executions>
+ <execution>
+ <id>findbugs-check</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>${maven-pmd-plugin.version}</version>
+ <configuration>
+ <targetJdk>1.5</targetJdk>
+ </configuration>
+ <executions>
+ <execution>
+ <id>pmd-check</id>
+ <goals>
+ <goal>check</goal>
+ <goal>cpd-check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
View
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<fileset-config file-format-version="1.2.0" simple-config="false" sync-formatter="true">
+ <local-check-config name="roboguice_checks" location="/Users/stephanenicolas/git/roboguice/roboguice_checks.xml" type="external" description="">
+ <additional-data name="protect-config-file" value="false"/>
+ </local-check-config>
+ <fileset name="all" enabled="true" check-config-name="roboguice_checks" local="true">
+ <file-match-pattern match-pattern="src/main/java/.*.*/.*.java$" include-pattern="true"/>
+ </fileset>
+</fileset-config>
@@ -12,6 +12,7 @@ org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
@@ -22,15 +23,18 @@ org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
org.eclipse.jdt.core.formatter.blank_lines_after_package=1
org.eclipse.jdt.core.formatter.blank_lines_before_field=0
@@ -66,10 +70,16 @@ org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
org.eclipse.jdt.core.formatter.comment.line_length=80
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
org.eclipse.jdt.core.formatter.compact_else_if=true
org.eclipse.jdt.core.formatter.continuation_indentation=2
org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
@@ -79,13 +89,18 @@ org.eclipse.jdt.core.formatter.indent_empty_lines=false
org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=true
org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=insert
org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
@@ -150,12 +165,14 @@ org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invoca
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
@@ -179,6 +196,7 @@ org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invoc
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
@@ -234,6 +252,7 @@ org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invoc
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
@@ -243,6 +262,7 @@ org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=inser
org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
@@ -266,5 +286,8 @@ org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=1
org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
org.eclipse.jdt.core.formatter.tabulation.char=space
org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_on_off_tags=false
org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
@@ -1,7 +1,59 @@
-#Thu Nov 26 08:51:00 PST 2009
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_missing_override_annotations_interface_methods=true
+cleanup.add_serial_version_id=false
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=false
+cleanup.always_use_this_for_non_static_method_access=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=false
+cleanup.format_source_code=false
+cleanup.format_source_code_changes_only=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=true
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=true
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_trailing_whitespaces=false
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_blocks=true
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_parentheses_in_expressions=false
+cleanup.use_this_for_non_static_field_access=false
+cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+cleanup.use_this_for_non_static_method_access=false
+cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+cleanup_profile=_eclipse-cs roboguice
+cleanup_settings_version=2
eclipse.preferences.version=1
-#formatter_profile=_roboguice
-formatter_settings_version=11
+formatter_profile=_eclipse-cs roboguice
+formatter_settings_version=12
org.eclipse.jdt.ui.ignorelowercasenames=true
org.eclipse.jdt.ui.importorder=java;javax;org;com;com.google;android;
org.eclipse.jdt.ui.ondemandthreshold=99
View
@@ -142,7 +142,55 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ </plugin>
+
</plugins>
+ <pluginManagement>
+ <plugins>
+ <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
+ <plugin>
+ <groupId>org.eclipse.m2e</groupId>
+ <artifactId>lifecycle-mapping</artifactId>
+ <version>1.0.0</version>
+ <configuration>
+ <lifecycleMappingMetadata>
+ <pluginExecutions>
+ <pluginExecution>
+ <pluginExecutionFilter>
+ <groupId>
+ org.apache.maven.plugins
+ </groupId>
+ <artifactId>
+ maven-checkstyle-plugin
+ </artifactId>
+ <versionRange>
+ [${maven-checkstyle-plugin.version},)
+ </versionRange>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <ignore></ignore>
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
<reporting>
Oops, something went wrong.

0 comments on commit 94a6d2e

Please sign in to comment.