Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re-format java files to JBoss community (AS7) style

  • Loading branch information...
commit b60786d9ce3426bc5cb03a11df7ef57bc21fe3e9 1 parent c969e22
Martin Kouba mkouba authored
Showing with 5,427 additions and 5,806 deletions.
  1. +3 −3 api/src/main/java/org/jboss/jsr299/tck/api/ConfigurationDependent.java
  2. +45 −49 api/src/main/java/org/jboss/jsr299/tck/api/JSR299Configuration.java
  3. +29 −31 api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java
  4. +44 −48 api/src/main/java/org/jboss/jsr299/tck/spi/Contexts.java
  5. +32 −32 api/src/main/java/org/jboss/jsr299/tck/spi/EL.java
  6. +15 −17 api/src/main/java/org/jboss/jsr299/tck/spi/Managers.java
  7. +304 −0 ide-configs/IDEA/Inspections.xml
  8. +56 −0 ide-configs/eclipse/as7cleanup.xml
  9. +382 −0 ide-configs/eclipse/as7formatter.xml
  10. +27 −0 ide-configs/eclipse/as7templates.xml
  11. +6 −10 impl/src/main/java/org/jboss/jsr299/tck/AbstractJSR299Test.java
  12. +19 −27 impl/src/main/java/org/jboss/jsr299/tck/DeploymentFailure.java
  13. +55 −68 impl/src/main/java/org/jboss/jsr299/tck/ForwardingBean.java
  14. +7 −14 impl/src/main/java/org/jboss/jsr299/tck/impl/ConfigurationFactory.java
  15. +69 −82 impl/src/main/java/org/jboss/jsr299/tck/impl/JSR299ConfigurationImpl.java
  16. +44 −86 impl/src/main/java/org/jboss/jsr299/tck/impl/JSR299PropertiesBasedConfigurationBuilder.java
  17. +45 −57 impl/src/main/java/org/jboss/jsr299/tck/impl/MockCreationalContext.java
  18. +36 −51 impl/src/main/java/org/jboss/jsr299/tck/impl/OldSPIBridge.java
  19. +20 −27 impl/src/main/java/org/jboss/jsr299/tck/impl/WebProfileMethodSelector.java
  20. +24 −30 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/AroundInvokeInterceptorTest.java
  21. +5 −6 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/PackagePrivateInterceptor.java
  22. +6 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/PrivateInterceptor.java
  23. +5 −6 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/ProtectedInterceptor.java
  24. +14 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/SimpleBean.java
  25. +10 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/exception/ExceptionTest.java
  26. +9 −12 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/exception/Interceptor1.java
  27. +10 −13 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/exception/Interceptor2.java
  28. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/exception/SimpleBean.java
  29. +8 −10 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/Interceptor1.java
  30. +6 −8 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/Interceptor2.java
  31. +7 −9 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/Interceptor3.java
  32. +7 −9 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/Interceptor4.java
  33. +7 −9 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/Interceptor5.java
  34. +13 −22 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/InvocationOrderTest.java
  35. +12 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/OverridenInterceptor.java
  36. +7 −9 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/RailVehicle.java
  37. +13 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/Tram.java
  38. +7 −10 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/aroundInvoke/order/Vehicle.java
  39. +9 −11 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/definition/ClassWithAroundInvokeMethod.java
  40. +9 −13 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/definition/DefinitionTest.java
  41. +15 −19 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor1.java
  42. +5 −6 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor10.java
  43. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor2.java
  44. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor3.java
  45. +14 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor4.java
  46. +7 −9 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor5.java
  47. +7 −8 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor6.java
  48. +11 −13 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor7.java
  49. +12 −15 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor8.java
  50. +12 −14 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/Interceptor9.java
  51. +67 −85 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/InvocationContextTest.java
  52. +13 −19 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/LifecycleCallbackInterceptor.java
  53. +44 −56 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/invocationContext/SimpleBean.java
  54. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/Animal.java
  55. +35 −50 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/AnimalInterceptor.java
  56. +3 −3 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/Chicken.java
  57. +32 −40 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/Cow.java
  58. +32 −40 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/Goat.java
  59. +27 −34 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/Hen.java
  60. +76 −88 ...c/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/LifecycleCallbackInterceptorTest.java
  61. +14 −20 ...main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/PackagePrivateLifecycleInterceptor.java
  62. +14 −20 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/PrivateLifecycleInterceptor.java
  63. +14 −20 .../src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/ProtectedLifecycleInterceptor.java
  64. +14 −20 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/PublicLifecycleInterceptor.java
  65. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/Sheep.java
  66. +20 −25 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/SheepInterceptor.java
  67. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/exceptions/Goat.java
  68. +14 −22 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/exceptions/GoatInterceptor.java
  69. +15 −23 ...s/jsr299/tck/interceptors/tests/lifecycleCallback/exceptions/LifecycleCallbackInterceptorExceptionTest.java
  70. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/exceptions/Sheep.java
  71. +6 −8 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/CargoShip.java
  72. +11 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/Interceptor1.java
  73. +11 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/Interceptor2.java
  74. +11 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/Interceptor3.java
  75. +11 −16 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/Interceptor4.java
  76. +12 −19 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/InvocationOrderTest.java
  77. +18 −22 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/LakeCargoShip.java
  78. +6 −8 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/lifecycleCallback/order/Ship.java
  79. +8 −11 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/method/Dog.java
  80. +5 −6 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/method/DogInterceptor.java
  81. +14 −15 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/method/Fish.java
  82. +15 −18 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/method/FishInterceptor.java
  83. +22 −30 impl/src/main/java/org/jboss/jsr299/tck/interceptors/tests/method/MethodLevelInterceptorTest.java
  84. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/literals/AnyLiteral.java
  85. +2 −1  impl/src/main/java/org/jboss/jsr299/tck/literals/DefaultLiteral.java
  86. +2 −1  impl/src/main/java/org/jboss/jsr299/tck/literals/InjectLiteral.java
  87. +6 −8 impl/src/main/java/org/jboss/jsr299/tck/literals/NamedLiteral.java
  88. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/literals/NewLiteral.java
  89. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/literals/RetentionLiteral.java
  90. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/literals/TargetLiteral.java
  91. +80 −160 impl/src/main/java/org/jboss/jsr299/tck/shrinkwrap/ArchiveBuilder.java
  92. +5 −10 impl/src/main/java/org/jboss/jsr299/tck/shrinkwrap/EnterpriseArchiveBuilder.java
  93. +11 −22 impl/src/main/java/org/jboss/jsr299/tck/shrinkwrap/WebArchiveBuilder.java
  94. +15 −18 impl/src/main/java/org/jboss/jsr299/tck/tests/context/AfterBeanDiscoveryObserver.java
  95. +6 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/AnotherSessionBean.java
  96. +22 −30 impl/src/main/java/org/jboss/jsr299/tck/tests/context/ContextDestroysBeansTest.java
  97. +33 −44 impl/src/main/java/org/jboss/jsr299/tck/tests/context/ContextTest.java
  98. +29 −34 impl/src/main/java/org/jboss/jsr299/tck/tests/context/DestroyForSameCreationalContext2Test.java
  99. +25 −30 impl/src/main/java/org/jboss/jsr299/tck/tests/context/DestroyForSameCreationalContextTest.java
  100. +33 −40 impl/src/main/java/org/jboss/jsr299/tck/tests/context/DestroyedInstanceReturnedByGetTest.java
  101. +13 −18 impl/src/main/java/org/jboss/jsr299/tck/tests/context/DummyContext.java
  102. +25 −30 impl/src/main/java/org/jboss/jsr299/tck/tests/context/DummyContextual.java
  103. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/DummyScoped.java
  104. +20 −27 impl/src/main/java/org/jboss/jsr299/tck/tests/context/GetFromContextualTest.java
  105. +16 −21 impl/src/main/java/org/jboss/jsr299/tck/tests/context/GetOnInactiveContextTest.java
  106. +13 −21 impl/src/main/java/org/jboss/jsr299/tck/tests/context/GetWithNoCreationalContextTest.java
  107. +3 −4 impl/src/main/java/org/jboss/jsr299/tck/tests/context/MyApplicationBean.java
  108. +72 −89 impl/src/main/java/org/jboss/jsr299/tck/tests/context/MyContextual.java
  109. +15 −19 impl/src/main/java/org/jboss/jsr299/tck/tests/context/MySessionBean.java
  110. +53 −67 impl/src/main/java/org/jboss/jsr299/tck/tests/context/NormalContextTest.java
  111. +8 −9 impl/src/main/java/org/jboss/jsr299/tck/tests/context/SimpleBeanA.java
  112. +8 −9 impl/src/main/java/org/jboss/jsr299/tck/tests/context/SimpleBeanB.java
  113. +12 −15 impl/src/main/java/org/jboss/jsr299/tck/tests/context/SimpleBeanZ.java
  114. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/Unregistered.java
  115. +79 −88 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ApplicationContextTest.java
  116. +8 −10 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ApplicationResource.java
  117. +11 −12 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/IntrospectApplication.java
  118. +10 −13 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/JaxrsApplication.java
  119. +28 −30 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/Result.java
  120. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/SimpleApplicationBean.java
  121. +20 −26 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/TestFilter.java
  122. +12 −15 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/TestHttpSessionListener.java
  123. +40 −43 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/TestServlet.java
  124. +12 −15 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/TestServletContextListener.java
  125. +11 −14 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/TestServletRequestListener.java
  126. +33 −43 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/ApplicationContextSharedTest.java
  127. +10 −11 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/FMS.java
  128. +72 −88 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/FMSModelIII.java
  129. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/tests/context/application/ejb/SimpleApplicationBean.java
  130. +71 −88 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/AbstractConversationTest.java
  131. +35 −44 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/BuiltInConversation.java
  132. +297 −332 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ClientConversationContextTest.java
  133. +38 −44 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/Cloud.java
  134. +10 −10 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/CloudController.java
  135. +34 −49 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationStatusServlet.java
  136. +33 −39 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ConversationTestPhaseListener.java
  137. +54 −71 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/Cumulus.java
  138. +22 −28 .../main/java/org/jboss/jsr299/tck/tests/context/conversation/InvalidatingSessionDestroysConversationTest.java
  139. +52 −62 ...va/org/jboss/jsr299/tck/tests/context/conversation/LongRunningConversationPropagatedByFacesContextTest.java
  140. +30 −36 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/ManualCidPropagationTest.java
  141. +30 −42 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/OutermostFilter.java
  142. +29 −34 impl/src/main/java/org/jboss/jsr299/tck/tests/context/conversation/Storm.java
  143. +3 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/AccountTransaction.java
  144. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Animal.java
  145. +14 −18 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ApplicationHorseStable.java
  146. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DeadlyAnimal.java
  147. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DeadlySpider.java
  148. +360 −414 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DependentContextTest.java
  149. +15 −19 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/DomesticationKit.java
  150. +8 −7 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Farm.java
  151. +32 −36 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Fox.java
  152. +10 −11 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/FoxFarm.java
  153. +10 −11 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/FoxHole.java
  154. +24 −27 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/FoxRun.java
  155. +9 −11 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Horse.java
  156. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HorseInStableEvent.java
  157. +31 −39 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/HorseStable.java
  158. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Interior.java
  159. +38 −41 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/InteriorDecorator.java
  160. +4 −6 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/InteriorRoom.java
  161. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Missile.java
  162. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/MissileInterceptor.java
  163. +19 −21 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/OtherSpiderProducer.java
  164. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Pet.java
  165. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Room.java
  166. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/RoomBinding.java
  167. +27 −33 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/SensitiveFox.java
  168. +8 −11 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Spider.java
  169. +36 −43 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/SpiderProducer.java
  170. +12 −13 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Stable.java
  171. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Tame.java
  172. +28 −35 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Tarantula.java
  173. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/Transactional.java
  174. +22 −21 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/TransactionalInterceptor.java
  175. +36 −42 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/DependentContextEjbTest.java
  176. +16 −17 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/Farm.java
  177. +4 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/FarmLocal.java
  178. +61 −73 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/Fox.java
  179. +3 −4 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/FoxLocal.java
  180. +34 −39 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/FoxRun.java
  181. +3 −4 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/FoxRunLocal.java
  182. +11 −13 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/Horse.java
  183. +18 −19 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/House.java
  184. +4 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/HouseLocal.java
  185. +16 −18 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/Room.java
  186. +4 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/RoomLocal.java
  187. +15 −16 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/Stable.java
  188. +13 −16 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/Table.java
  189. +4 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/dependent/ejb/TableLocal.java
  190. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Big.java
  191. +4 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/City.java
  192. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/CityBinding.java
  193. +9 −8 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/CityDecorator.java
  194. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/CityInterface.java
  195. +7 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/CityProducer.java
  196. +6 −7 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/CityProducer2.java
  197. +16 −16 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Generator.java
  198. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Helsinki.java
  199. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/HelsinkiLocal.java
  200. +5 −7 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/HelsinkiNonSerializable.java
  201. +4 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Hyvinkaa.java
  202. +4 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Joensuu.java
  203. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Jyvaskyla.java
  204. +9 −12 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Kajaani.java
  205. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Kokkola.java
  206. +6 −8 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/KokkolaInterceptor.java
  207. +8 −7 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/NumberConsumer.java
  208. +88 −104 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/PassivatingContextTest.java
  209. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Record.java
  210. +6 −6 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/RecordProducer.java
  211. +7 −8 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Salo_Broken.java
  212. +3 −4 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/SerializableCity.java
  213. +5 −6 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/SerializableCityConsumer.java
  214. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Sleeping.java
  215. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Sysma.java
  216. +3 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Television.java
  217. +6 −6 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/TelevisionProducer.java
  218. +5 −6 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Turku.java
  219. +2 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/TurkuLocal.java
  220. +4 −6 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/UnderwaterCity.java
  221. +4 −4 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Vaasa.java
  222. +3 −5 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Violation.java
  223. +1 −2  impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/Wheat.java
  224. +4 −3 impl/src/main/java/org/jboss/jsr299/tck/tests/context/passivating/WheatProducer.java
  225. +14 −12 ...s/jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingBeanConstructor/CityDecorator.java
  226. +2 −3 ...s/jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingBeanConstructor/CityInterface.java
  227. +11 −16 ...ating/broken/decoratorWithNonPassivatingBeanConstructor/DecoratorWithNonPassivatingBeanConstructorTest.java
  228. +2 −3 .../jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingBeanConstructor/NonPassivating.java
  229. +5 −7 .../jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingBeanConstructor/UnderwaterCity.java
  230. +13 −11 ...jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInitializerMethod/CityDecorator.java
  231. +2 −3 ...jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInitializerMethod/CityInterface.java
  232. +11 −16 ...g/broken/decoratorWithNonPassivatingInitializerMethod/DecoratorWithNonPassivatingInitializerMethodTest.java
  233. +2 −3 ...sr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInitializerMethod/NonPassivating.java
  234. +5 −7 ...sr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInitializerMethod/UnderwaterCity.java
  235. +12 −10 ...oss/jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInjectedField/CityDecorator.java
  236. +2 −3 ...oss/jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInjectedField/CityInterface.java
  237. +11 −16 ...ssivating/broken/decoratorWithNonPassivatingInjectedField/DecoratorWithNonPassivatingInjectedFieldTest.java
  238. +1 −2  ...ss/jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInjectedField/NonPassivating.java
  239. +5 −7 ...ss/jsr299/tck/tests/context/passivating/broken/decoratorWithNonPassivatingInjectedField/UnderwaterCity.java
  240. +2 −4 ...en/dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/British.java
  241. +1 −2  ...broken/dependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/Cow.java
  242. +4 −3 ...ependentScopedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/CowProducer.java
  243. +17 −25 ...eturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java
  244. +5 −6 ...ProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/MaarianHaminaLocal_Broken.java
  245. +11 −8 ...copedProducerFieldReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/Maarianhamina_Broken.java
  246. +2 −4 ...n/dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/British.java
  247. +1 −2  ...roken/dependentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/Cow.java
  248. +7 −8 ...pendentScopedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/CowProducer.java
  249. +17 −25 ...eturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/EnterpriseBeanWithIllegalDependencyTest.java
  250. +4 −5 ...roducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/MaarianHaminaLocal_Broken.java
  251. +11 −8 ...opedProducerMethodReturnsNonSerializableObjectForInjectionIntoStatefulSessionBean/Maarianhamina_Broken.java
  252. +10 −10 ...ivating/broken/enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor/BrokenInterceptor.java
  253. +2 −3 ...t/passivating/broken/enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor/CityBinding.java
  254. +4 −6 ...text/passivating/broken/enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor/District.java
  255. +13 −17 ...ructorParameterInInterceptor/EnterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptorTest.java
  256. +2 −3 ...ivating/broken/enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor/EspooLocal_Broken.java
  257. +4 −5 .../passivating/broken/enterpriseBeanWithNonPassivatingBeanConstructorParameterInInterceptor/Espoo_Broken.java
  258. +8 −6 ...context/passivating/broken/enterpriseBeanWithNonPassivatingConstructorFieldInDecorator/BrokenDecorator.java
  259. +4 −6 .../tests/context/passivating/broken/enterpriseBeanWithNonPassivatingConstructorFieldInDecorator/District.java
  260. +12 −17 ...BeanWithNonPassivatingConstructorFieldInDecorator/EnterpriseBeanWithNonPassivatingFieldInDecoratorTest.java
  261. +2 −3 ...ntext/passivating/broken/enterpriseBeanWithNonPassivatingConstructorFieldInDecorator/EspooLocal_Broken.java
  262. +4 −5 ...ts/context/passivating/broken/enterpriseBeanWithNonPassivatingConstructorFieldInDecorator/Espoo_Broken.java
  263. +11 −16 ...ivating/broken/enterpriseBeanWithNonPassivatingDecorator/EnterpriseBeanWithNonPassivatingDecoratorTest.java
  264. +2 −3 ...k/tests/context/passivating/broken/enterpriseBeanWithNonPassivatingDecorator/MaarianHaminaLocal_Broken.java
  265. +5 −4 .../tck/tests/context/passivating/broken/enterpriseBeanWithNonPassivatingDecorator/MaarianhaminaDecorator.java
  266. +4 −5 ...99/tck/tests/context/passivating/broken/enterpriseBeanWithNonPassivatingDecorator/Maarianhamina_Broken.java
  267. +8 −6 ...ests/context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerInDecorator/BrokenDecorator.java
  268. +4 −6 ...9/tck/tests/context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerInDecorator/District.java
  269. +12 −16 ...eanWithNonPassivatingInitializerInDecorator/EnterpriseBeanWithNonPassivatingInitializerInDecoratorTest.java
  270. +2 −3 ...ts/context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerInDecorator/EspooLocal_Broken.java
  271. +4 −5 ...k/tests/context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerInDecorator/Espoo_Broken.java
  272. +9 −10 ...passivating/broken/enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor/BrokenInterceptor.java
  273. +2 −3 ...ests/context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor/City.java
  274. +3 −6 .../context/passivating/broken/enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor/District.java
  275. +13 −17 ...nitializerParameterInInterceptor/EnterpriseBeanWithNonPassivatingInitializerParameterInInterceptorTest.java
  276. +2 −3 ...passivating/broken/enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor/EspooLocal_Broken.java
  277. +4 −5 ...text/passivating/broken/enterpriseBeanWithNonPassivatingInitializerParameterInInterceptor/Espoo_Broken.java
  278. +7 −5 ...ts/context/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInDecorator/BrokenDecorator.java
  279. +4 −6 ...tck/tests/context/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInDecorator/District.java
  280. +12 −16 ...ithNonPassivatingInjectedFieldInDecorator/EnterpriseBeanWithNonPassivatingInjectedFieldInDecoratorTest.java
  281. +2 −3 .../context/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInDecorator/EspooLocal_Broken.java
  282. +4 −5 ...tests/context/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInDecorator/Espoo_Broken.java
  283. +7 −8 ...ontext/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInInterceptor/BrokenInterceptor.java
  284. +4 −6 ...k/tests/context/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInInterceptor/District.java
  285. +13 −17 ...onPassivatingInjectedFieldInInterceptor/EnterpriseBeanWithNonPassivatingInjectedFieldInInterceptorTest.java
  286. +2 −3 ...ontext/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInInterceptor/EspooLocal_Broken.java
  287. +4 −5 ...sts/context/passivating/broken/enterpriseBeanWithNonPassivatingInjectedFieldInInterceptor/Espoo_Broken.java
  288. +5 −7 ...jsr299/tck/tests/context/passivating/broken/enterpriseBeanWithNonSerializableIntializerMethod/District.java
  289. +12 −16 ...nterpriseBeanWithNonSerializableIntializerMethod/EnterpriseBeanWithNonSerializableIntializerMethodTest.java
  290. +2 −3 ...k/tests/context/passivating/broken/enterpriseBeanWithNonSerializableIntializerMethod/EspooLocal_Broken.java
  291. +7 −8 ...99/tck/tests/context/passivating/broken/enterpriseBeanWithNonSerializableIntializerMethod/Espoo_Broken.java
  292. +3 −3 ...boss/jsr299/tck/tests/context/passivating/broken/finalProducerFieldNotPassivationCapable/Broken_Record.java
  293. +11 −18 ...text/passivating/broken/finalProducerFieldNotPassivationCapable/NonPassivationCapableProducerFieldTest.java
  294. +4 −3 ...oss/jsr299/tck/tests/context/passivating/broken/finalProducerFieldNotPassivationCapable/RecordProducer.java
  295. +5 −4 ...9/tck/tests/context/passivating/broken/interceptorWithNonPassivatingBeanConstructorParameter/BakedBean.java
  296. +2 −3 ...ck/tests/context/passivating/broken/interceptorWithNonPassivatingBeanConstructorParameter/BakedBinding.java
  297. +8 −11 ...sts/context/passivating/broken/interceptorWithNonPassivatingBeanConstructorParameter/BrokenInterceptor.java
  298. +2 −3 ...tests/context/passivating/broken/interceptorWithNonPassivatingBeanConstructorParameter/InterceptorType.java
  299. +12 −17 ...ptorWithNonPassivatingBeanConstructorParameter/PassivationCapableBeanWithNonPassivatingInterceptorTest.java
  300. +2 −3 ...ext/passivating/broken/interceptorWithNonPassivatingBeanConstructorParameter/UnserializableManagedBean.java
Sorry, we could not display the entire diff because too many files (2,097) changed.
6 api/src/main/java/org/jboss/jsr299/tck/api/ConfigurationDependent.java
View
@@ -1,14 +1,14 @@
package org.jboss.jsr299.tck.api;
/**
- * SPI component that depends on JSR299Configuration.
- *
+ * SPI component that depends on JSR299Configuration.
+ *
* @author Martin Kouba
*/
public interface ConfigurationDependent {
/**
- *
+ *
* @param configuration
*/
public void setConfiguration(JSR299Configuration configuration);
94 api/src/main/java/org/jboss/jsr299/tck/api/JSR299Configuration.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -25,61 +25,57 @@
/**
* The configuration of the TCK.
- *
- * The TCK may be configured using system properties or placed in a properties
- * file called META-INF/cdi-tck.properties.
- *
- * Porting package property names are the FQCN of the SPI class. Other property
- * names (one for each non-porting package SPI configuration option) are
- * specified here. The defaults are also listed here.
- *
+ *
+ * The TCK may be configured using system properties or placed in a properties file called META-INF/cdi-tck.properties.
+ *
+ * Porting package property names are the FQCN of the SPI class. Other property names (one for each non-porting package SPI
+ * configuration option) are specified here. The defaults are also listed here.
+ *
* The TCK may also be configured programatically through this interface
- *
+ *
* @author Pete Muir
* @author Martin Kouba
*/
-public interface JSR299Configuration
-{
-
+public interface JSR299Configuration {
+
public static final String LIBRARY_DIRECTORY_PROPERTY_NAME = "org.jboss.jsr299.tck.libraryDirectory";
-
- /**
- * The implementation of {@link Beans} in use.
- */
- public Beans getBeans();
-
- /**
- * The implementation of {@link Contexts} in use.
- */
- public <T extends Context> Contexts<T> getContexts();
-
- /**
- * The implementation of {@link Managers} in use.
- */
- public Managers getManagers();
- public void setBeans(Beans beans);
+ /**
+ * The implementation of {@link Beans} in use.
+ */
+ public Beans getBeans();
+
+ /**
+ * The implementation of {@link Contexts} in use.
+ */
+ public <T extends Context> Contexts<T> getContexts();
+
+ /**
+ * The implementation of {@link Managers} in use.
+ */
+ public Managers getManagers();
+
+ public void setBeans(Beans beans);
+
+ public <T extends Context> void setContexts(Contexts<T> contexts);
+
+ public void setManagers(Managers managers);
+
+ public void setEl(EL el);
+
+ /**
+ * The implementation of {@link EL} in use.
+ */
+ public EL getEl();
- public <T extends Context> void setContexts(Contexts<T> contexts);
+ /**
+ * The TCK allows additional libraries to be put in the deployed test artifacts (for example the porting package for the
+ * implementation). Any jars in this directory will be added to the deployed artifact.
+ *
+ * By default no directory is used.
+ */
+ public String getLibraryDirectory();
- public void setManagers(Managers managers);
+ public void setLibraryDirectory(String libraryDir);
- public void setEl(EL el);
-
- /**
- * The implementation of {@link EL} in use.
- */
- public EL getEl();
-
- /**
- * The TCK allows additional libraries to be put in the deployed test
- * artifacts (for example the porting package for the implementation). Any
- * jars in this directory will be added to the deployed artifact.
- *
- * By default no directory is used.
- */
- public String getLibraryDirectory();
-
- public void setLibraryDirectory(String libraryDir);
-
}
60 api/src/main/java/org/jboss/jsr299/tck/spi/Beans.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -20,44 +20,42 @@
/**
* Provides Bean related operations.
- *
- * The TCK porting package must provide an implementation of this interface which is
- * suitable for the target implementation.
- *
+ *
+ * The TCK porting package must provide an implementation of this interface which is suitable for the target implementation.
+ *
* This interface may be removed.
- *
+ *
* @author Shane Bryzak
* @author Pete Muir
* @author David Allen
- *
+ *
*/
-public interface Beans
-{
+public interface Beans {
- public static final String PROPERTY_NAME = Beans.class.getName();
+ public static final String PROPERTY_NAME = Beans.class.getName();
- /**
- * Determines if the object instance is actually a proxy object.
- *
- * @param instance The object which might be a proxy
- * @return true if the object is a proxy
- */
- public boolean isProxy(Object instance);
+ /**
+ * Determines if the object instance is actually a proxy object.
+ *
+ * @param instance The object which might be a proxy
+ * @return true if the object is a proxy
+ */
+ public boolean isProxy(Object instance);
- /**
- * Serializes the object tree starting with the bean instance provided.
- *
- * @param instance The bean instance to serialize
- * @return the serialized byte array of the bean instance
- */
- public byte[] serialize(Object instance) throws IOException;
+ /**
+ * Serializes the object tree starting with the bean instance provided.
+ *
+ * @param instance The bean instance to serialize
+ * @return the serialized byte array of the bean instance
+ */
+ public byte[] serialize(Object instance) throws IOException;
- /**
- * Deserializes a bean instance from the given serialized bytes.
- *
- * @param bytes The serialized byte stream of a bean instance
- * @return the serialized byte array of the bean instance
- */
- public Object deserialize(byte[] bytes) throws IOException, ClassNotFoundException;
+ /**
+ * Deserializes a bean instance from the given serialized bytes.
+ *
+ * @param bytes The serialized byte stream of a bean instance
+ * @return the serialized byte array of the bean instance
+ */
+ public Object deserialize(byte[] bytes) throws IOException, ClassNotFoundException;
}
92 api/src/main/java/org/jboss/jsr299/tck/spi/Contexts.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -18,58 +18,54 @@
import javax.enterprise.context.spi.Context;
-
/**
* This interface provides operations relating to Contexts.
- *
- * The TCK porting package must provide an implementation of this interface which is
- * suitable for the target implementation.
- *
+ *
+ * The TCK porting package must provide an implementation of this interface which is suitable for the target implementation.
+ *
* @author Shane Bryzak
* @author Pete Muir
- *
+ *
* @param <T> The concrete context type of the implementation
*
*/
-public interface Contexts<T extends Context>
-{
-
- public static final String PROPERTY_NAME = Contexts.class.getName();
-
- /**
- * Sets the specified context as active
- *
- * @param context The context to set active
- */
- public void setActive(T context);
-
- /**
- * Sets the specified context as inactive
- *
- * @param context The context to set inactive
- */
- public void setInactive(T context);
-
- /**
- * Get the request context, regardless of whether it is active or not
- *
- * @return The request context
- */
- public T getRequestContext();
-
- /**
- * Returns the dependent context, regardless of whether it is active or not
- *
- * @return the dependent context
- */
- public T getDependentContext();
-
- /**
- * Destroy the context. This operation is defined by the Web Beans
- * specification but has no API.
- *
- * @param context the context to destroy
- */
- public void destroyContext(T context);
-
+public interface Contexts<T extends Context> {
+
+ public static final String PROPERTY_NAME = Contexts.class.getName();
+
+ /**
+ * Sets the specified context as active
+ *
+ * @param context The context to set active
+ */
+ public void setActive(T context);
+
+ /**
+ * Sets the specified context as inactive
+ *
+ * @param context The context to set inactive
+ */
+ public void setInactive(T context);
+
+ /**
+ * Get the request context, regardless of whether it is active or not
+ *
+ * @return The request context
+ */
+ public T getRequestContext();
+
+ /**
+ * Returns the dependent context, regardless of whether it is active or not
+ *
+ * @return the dependent context
+ */
+ public T getDependentContext();
+
+ /**
+ * Destroy the context. This operation is defined by the Web Beans specification but has no API.
+ *
+ * @param context the context to destroy
+ */
+ public void destroyContext(T context);
+
}
64 api/src/main/java/org/jboss/jsr299/tck/spi/EL.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -20,37 +20,37 @@
/**
* This interface provides operations relating to EL.
- *
- * The TCK porting package must provide an implementation of this interface which is
- * suitable for the target Web Beans implementation.
- *
+ *
+ * The TCK porting package must provide an implementation of this interface which is suitable for the target Web Beans
+ * implementation.
+ *
* @author Pete Muir
*/
-public interface EL
-{
-
- public static final String PROPERTY_NAME = EL.class.getName();
-
- /**
- *
- *
- * @param <T>
- * @param expression
- * @param expectedType
- * @return
- */
- public <T> T evaluateValueExpression(String expression, Class<T> expectedType);
-
- /**
- *
- * @param <T>
- * @param expression
- * @param expectedType
- * @param expectedParamTypes
- * @return
- */
- public <T> T evaluateMethodExpression(String expression, Class<T> expectedType, Class<?>[] expectedParamTypes, Object[] expectedParams);
-
- public ELContext createELContext();
-
+public interface EL {
+
+ public static final String PROPERTY_NAME = EL.class.getName();
+
+ /**
+ *
+ *
+ * @param <T>
+ * @param expression
+ * @param expectedType
+ * @return
+ */
+ public <T> T evaluateValueExpression(String expression, Class<T> expectedType);
+
+ /**
+ *
+ * @param <T>
+ * @param expression
+ * @param expectedType
+ * @param expectedParamTypes
+ * @return
+ */
+ public <T> T evaluateMethodExpression(String expression, Class<T> expectedType, Class<?>[] expectedParamTypes,
+ Object[] expectedParams);
+
+ public ELContext createELContext();
+
}
32 api/src/main/java/org/jboss/jsr299/tck/spi/Managers.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -20,25 +20,23 @@
/**
* This interface provides operations relating to a Manager.
- *
- * The TCK porting package must provide an implementation of this interface
- * which is suitable for the target implementation.
- *
- * Managers also allows the TCK to report the state of the Container back to the
- * TCK, by checking if a deployment problem has occurred,
- *
+ *
+ * The TCK porting package must provide an implementation of this interface which is suitable for the target implementation.
+ *
+ * Managers also allows the TCK to report the state of the Container back to the TCK, by checking if a deployment problem has
+ * occurred,
+ *
* @author Shane Bryzak
*/
-public interface Managers
-{
+public interface Managers {
- public static final String PROPERTY_NAME = Managers.class.getName();
+ public static final String PROPERTY_NAME = Managers.class.getName();
- /**
- * Get a new Manager instance
- *
- * @return the Manager
- */
- public BeanManager getManager();
+ /**
+ * Get a new Manager instance
+ *
+ * @return the Manager
+ */
+ public BeanManager getManager();
}
304 ide-configs/IDEA/Inspections.xml
View
@@ -0,0 +1,304 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<inspections version="1.0" is_locked="false">
+ <option name="myName" value="Project Default"/>
+ <option name="myLocal" value="false"/>
+ <inspection_tool class="AntMissingPropertiesFileInspection" enabled="false" level="ERROR"
+ enabled_by_default="false"/>
+ <inspection_tool class="AutoBoxing" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="ignoreAddedToCollection" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="AutoUnboxing" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="BadOddness" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="BigDecimalEquals" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="BooleanConstructor" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="CanBeFinal" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="REPORT_CLASSES" value="false"/>
+ <option name="REPORT_METHODS" value="false"/>
+ <option name="REPORT_FIELDS" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="CheckImageSize" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ClassInitializer" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="CloneCallsSuperClone" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="CloneDeclaresCloneNotSupported" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="CollectionContainsUrl" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ComparatorNotSerializable" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="CompareToUsesNonFinalVariable" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ComponentNotRegistered" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="CHECK_ACTIONS" value="true"/>
+ <option name="IGNORE_NON_PUBLIC" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="ConfusingMainMethod" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ConstantConditionalExpression" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ConstantConditions" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="SUGGEST_NULLABLE_ANNOTATIONS" value="false"/>
+ <option name="DONT_REPORT_TRUE_ASSERT_STATEMENTS" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="ConstantIfStatement" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ConstantMathCall" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="CssNoGenericFontName" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="CssOverwrittenProperties" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="DivideByZero" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="DoubleCheckedLocking" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="ignoreOnVolatileVariables" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="DoubleLiteralMayBeFloatLiteral" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="EmptyCatchBlock" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="m_includeComments" value="true"/>
+ <option name="m_ignoreTestCases" value="true"/>
+ <option name="m_ignoreIgnoreParameter" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="EmptyFinallyBlock" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="EmptyMethod" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="EmptyStatementBody" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="m_reportEmptyBlocks" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="EmptySynchronizedStatement" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="EmptyTryBlock" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="EqualsAndHashcode" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="EqualsUsesNonFinalVariable" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="EqualsWhichDoesntCheckParameterClass" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="ExtendsAnnotation" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ExtendsObject" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ExtendsUtilityClass" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ExternalizableWithSerializationMethods" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="FieldCanBeLocal" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="FieldMayBeStatic" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="FinalMethodInFinalClass" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="FinalizeCallsSuperFinalize" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="ignoreObjectSubclasses" value="false"/>
+ <option name="ignoreTrivialFinalizers" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="HashCodeUsesNonFinalVariable" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="IgnoreResultOfCall" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="m_reportAllNonLibraryCalls" value="false"/>
+ <option name="callCheckString"
+ value="java.io.InputStream,read,java.io.InputStream,skip,java.lang.StringBuffer,toString,java.lang.StringBuilder,toString,java.lang.String,.*,java.math.BigInteger,.*,java.math.BigDecimal,.*,java.net.InetAddress,.*"/>
+ </inspection_tool>
+ <inspection_tool class="IncompatibleMask" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="InfiniteLoopStatement" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="InfiniteRecursion" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="InstantiatingObjectToGetClassObject" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="IntLiteralMayBeLongLiteral" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="JSUnresolvedFunction" enabled="false" level="INFO" enabled_by_default="false"/>
+ <inspection_tool class="JavaDoc" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="TOP_LEVEL_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="public"/>
+ <option name="REQUIRED_TAGS" value="@param"/>
+ </value>
+ </option>
+ <option name="INNER_CLASS_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
+ <option name="REQUIRED_TAGS" value=""/>
+ </value>
+ </option>
+ <option name="METHOD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
+ <option name="REQUIRED_TAGS" value="@return@param@throws or @exception"/>
+ </value>
+ </option>
+ <option name="FIELD_OPTIONS">
+ <value>
+ <option name="ACCESS_JAVADOC_REQUIRED_FOR" value="protected"/>
+ <option name="REQUIRED_TAGS" value=""/>
+ </value>
+ </option>
+ <option name="IGNORE_DEPRECATED" value="true"/>
+ <option name="IGNORE_JAVADOC_PERIOD" value="true"/>
+ <option name="IGNORE_DUPLICATED_THROWS" value="false"/>
+ <option name="IGNORE_POINT_TO_ITSELF" value="false"/>
+ <option name="myAdditionalJavadocTags" value="apiviz.exclude,apiviz.landmark"/>
+ </inspection_tool>
+ <inspection_tool class="JavaLangImport" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="JavadocReference" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="LoopStatementsThatDontLoop" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="LossyEncoding" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="MalformedFormatString" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="MalformedRegex" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="MalformedXPath" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ManualArrayCopy" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ManualArrayToCollectionCopy" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="MismatchedArrayReadWrite" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="MismatchedCollectionQueryUpdate" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="queries" value="copyInto,drainTo,propertyNames,save,store,write"/>
+ <option name="updates"
+ value="add,clear,drainTo,insert,load,offer,poll,push,put,remove,replace,retain,set,take"/>
+ </inspection_tool>
+ <inspection_tool class="MissortedModifiers" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="m_requireAnnotationsFirst" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="NonProtectedConstructorInAbstractClass" enabled="true" level="WARNING"
+ enabled_by_default="true">
+ <option name="m_ignoreNonPublicClasses" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="NonSerializableWithSerialVersionUIDField" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="NonSerializableWithSerializationMethods" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="NonStaticFinalLogger" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="loggerClassName" value="java.util.logging.Logger"/>
+ </inspection_tool>
+ <inspection_tool class="NotifyCalledOnCondition" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="NullArgumentToVariableArgMethod" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="NullableProblems" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="REPORT_NULLABLE_METHOD_OVERRIDES_NOTNULL" value="true"/>
+ <option name="REPORT_NOT_ANNOTATED_METHOD_OVERRIDES_NOTNULL" value="true"/>
+ <option name="REPORT_NOTNULL_PARAMETER_OVERRIDES_NULLABLE" value="true"/>
+ <option name="REPORT_NOT_ANNOTATED_PARAMETER_OVERRIDES_NOTNULL" value="true"/>
+ <option name="REPORT_NOT_ANNOTATED_GETTER" value="true"/>
+ <option name="REPORT_NOT_ANNOTATED_SETTER_PARAMETER" value="true"/>
+ <option name="REPORT_ANNOTATION_NOT_PROPAGATED_TO_OVERRIDERS" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="ObjectEqualsNull" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="OctalAndDecimalIntegersMixed" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="OnDemandImport" enabled="true" level="SERVER PROBLEM" enabled_by_default="true"/>
+ <inspection_tool class="PointlessArithmeticExpression" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="PointlessBitwiseExpression" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="PointlessBooleanExpression" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="m_ignoreExpressionsContainingConstants" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="PrimitiveArrayArgumentToVariableArgMethod" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="PublicConstructorInNonPublicClass" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="RawUseOfParameterizedType" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="ignoreObjectConstruction" value="true"/>
+ <option name="ignoreTypeCasts" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="ReadObjectAndWriteObjectPrivate" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="RedundantArrayCreation" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="RedundantCast" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="RedundantImport" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="RedundantSuppression" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="RedundantTypeArguments" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="SafeLock" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="SamePackageImport" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="SameParameterValue" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="SameReturnValue" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="SerialPersistentFieldsWithWrongSignature" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="SerialVersionUIDNotStaticFinal" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="SerializableHasSerialVersionUIDField" enabled="true" level="WARNING"
+ enabled_by_default="true">
+ <option name="superClassString" value="java.awt.Component"/>
+ </inspection_tool>
+ <inspection_tool class="SerializableInnerClassHasSerialVersionUIDField" enabled="true" level="WARNING"
+ enabled_by_default="true">
+ <option name="superClassString" value="java.awt.Component"/>
+ </inspection_tool>
+ <inspection_tool class="SerializableInnerClassWithNonSerializableOuterClass" enabled="true" level="WARNING"
+ enabled_by_default="true">
+ <option name="superClassString" value="java.awt.Component"/>
+ </inspection_tool>
+ <inspection_tool class="SerializableWithUnconstructableAncestor" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="ShiftOutOfRange" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="SimpleDateFormatWithoutLocale" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="SimplifiableConditionalExpression" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="SleepWhileHoldingLock" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="StringConcatenationInsideStringBufferAppend" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="StringConstructor" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="ignoreSubstringArguments" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="StringEquality" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="StringToString" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="StringToUpperWithoutLocale" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="SuspiciousMethodCalls" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="REPORT_CONVERTIBLE_METHOD_CALLS" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="SynchronizationOnLocalVariableOrMethodParameter" enabled="false" level="WARNING"
+ enabled_by_default="false">
+ <option name="reportLocalVariables" value="true"/>
+ <option name="reportMethodParameters" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="SynchronizeOnLock" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="SynchronizedOnLiteralObject" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="SystemRunFinalizersOnExit" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ThisEscapedInConstructor" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ThreadRun" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ThreadStartInConstruction" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ThreadStopSuspendResume" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ThreadWithDefaultRunMethod" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ThreadYield" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="ThrowableInstanceNeverThrown" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="ThrowableResultOfMethodCallIgnored" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="TransientFieldInNonSerializableClass" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="TrivialIf" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="TypeParameterExtendsObject" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryBoxing" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryConditionalExpression" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryContinue" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryInterfaceModifier" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="UnnecessaryLabelOnBreakStatement" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryLabelOnContinueStatement" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryLocalVariable" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="m_ignoreImmediatelyReturnedVariables" value="false"/>
+ <option name="m_ignoreAnnotatedVariables" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="UnnecessaryReturn" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnnecessarySemicolon" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnnecessarySuperConstructor" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="UnnecessaryTemporaryOnConversionFromString" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryTemporaryOnConversionToString" enabled="false" level="WARNING"
+ enabled_by_default="false"/>
+ <inspection_tool class="UnnecessaryThis" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="UnnecessaryUnboxing" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnresolvedPropertyKey" enabled="false" level="ERROR" enabled_by_default="false"/>
+ <inspection_tool class="UnusedAssignment" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="REPORT_PREFIX_EXPRESSIONS" value="false"/>
+ <option name="REPORT_POSTFIX_EXPRESSIONS" value="true"/>
+ <option name="REPORT_REDUNDANT_INITIALIZER" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="UnusedDeclaration" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="ADD_MAINS_TO_ENTRIES" value="true"/>
+ <option name="ADD_APPLET_TO_ENTRIES" value="true"/>
+ <option name="ADD_SERVLET_TO_ENTRIES" value="true"/>
+ <option name="ADD_NONJAVA_TO_ENTRIES" value="true"/>
+ </inspection_tool>
+ <inspection_tool class="UnusedImport" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="UnusedLabel" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnusedMessageFormatParameter" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnusedParameters" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UnusedReturnValue" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="UtilityClassWithPublicConstructor" enabled="true" level="WARNING"
+ enabled_by_default="true"/>
+ <inspection_tool class="UtilityClassWithoutPrivateConstructor" enabled="true" level="WARNING"
+ enabled_by_default="true">
+ <option name="ignoreClassesWithOnlyMain" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="VolatileLongOrDoubleField" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="WaitCalledOnCondition" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="WeakerAccess" enabled="false" level="WARNING" enabled_by_default="false">
+ <option name="SUGGEST_PACKAGE_LOCAL_FOR_MEMBERS" value="true"/>
+ <option name="SUGGEST_PACKAGE_LOCAL_FOR_TOP_CLASSES" value="true"/>
+ <option name="SUGGEST_PRIVATE_FOR_INNERS" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="WhileLoopSpinsOnField" enabled="true" level="WARNING" enabled_by_default="true">
+ <option name="ignoreNonEmtpyLoops" value="false"/>
+ </inspection_tool>
+ <inspection_tool class="ZeroLengthArrayInitialization" enabled="true" level="WARNING" enabled_by_default="true"/>
+ <inspection_tool class="osmorcClassInDefaultPackage" enabled="false" level="ERROR" enabled_by_default="false"/>
+ <inspection_tool class="osmorcMissingFinalNewline" enabled="false" level="ERROR" enabled_by_default="false"/>
+ <inspection_tool class="osmorcMisspelledHeaderName" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="osmorcNonOsgiMavenDependency" enabled="false" level="WARNING" enabled_by_default="false"/>
+ <inspection_tool class="osmorcUnregisteredActivator" enabled="false" level="ERROR" enabled_by_default="false"/>
+</inspections>
+
56 ide-configs/eclipse/as7cleanup.xml
View
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<profiles version="2">
+ <profile kind="CleanUpProfile" name="AS7" version="2">
+ <setting id="cleanup.remove_unused_private_fields" value="true"/>
+ <setting id="cleanup.always_use_parentheses_in_expressions" value="false"/>
+ <setting id="cleanup.never_use_blocks" value="false"/>
+ <setting id="cleanup.remove_unused_private_methods" value="true"/>
+ <setting id="cleanup.add_missing_deprecated_annotations" value="true"/>
+ <setting id="cleanup.convert_to_enhanced_for_loop" value="false"/>
+ <setting id="cleanup.remove_unnecessary_nls_tags" value="false"/>
+ <setting id="cleanup.sort_members" value="false"/>
+ <setting id="cleanup.remove_unused_local_variables" value="false"/>
+ <setting id="cleanup.never_use_parentheses_in_expressions" value="true"/>
+ <setting id="cleanup.remove_unused_private_members" value="false"/>
+ <setting id="cleanup.remove_unnecessary_casts" value="false"/>
+ <setting id="cleanup.make_parameters_final" value="false"/>
+ <setting id="cleanup.use_this_for_non_static_field_access" value="false"/>
+ <setting id="cleanup.remove_private_constructors" value="true"/>
+ <setting id="cleanup.use_blocks" value="false"/>
+ <setting id="cleanup.always_use_this_for_non_static_method_access" value="false"/>
+ <setting id="cleanup.remove_trailing_whitespaces_all" value="true"/>
+ <setting id="cleanup.always_use_this_for_non_static_field_access" value="false"/>
+ <setting id="cleanup.use_this_for_non_static_field_access_only_if_necessary" value="true"/>
+ <setting id="cleanup.add_default_serial_version_id" value="true"/>
+ <setting id="cleanup.make_type_abstract_if_missing_method" value="false"/>
+ <setting id="cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class" value="true"/>
+ <setting id="cleanup.make_variable_declarations_final" value="false"/>
+ <setting id="cleanup.add_missing_nls_tags" value="false"/>
+ <setting id="cleanup.format_source_code" value="false"/>
+ <setting id="cleanup.qualify_static_method_accesses_with_declaring_class" value="false"/>
+ <setting id="cleanup.add_missing_override_annotations" value="true"/>
+ <setting id="cleanup.remove_unused_private_types" value="true"/>
+ <setting id="cleanup.add_missing_methods" value="false"/>
+ <setting id="cleanup.make_local_variable_final" value="true"/>
+ <setting id="cleanup.correct_indentation" value="false"/>
+ <setting id="cleanup.add_missing_override_annotations_interface_methods" value="true"/>
+ <setting id="cleanup.remove_unused_imports" value="true"/>
+ <setting id="cleanup.remove_trailing_whitespaces_ignore_empty" value="false"/>
+ <setting id="cleanup.make_private_fields_final" value="true"/>
+ <setting id="cleanup.add_generated_serial_version_id" value="false"/>
+ <setting id="cleanup.organize_imports" value="false"/>
+ <setting id="cleanup.remove_trailing_whitespaces" value="true"/>
+ <setting id="cleanup.sort_members_all" value="false"/>
+ <setting id="cleanup.use_blocks_only_for_return_and_throw" value="false"/>
+ <setting id="cleanup.add_missing_annotations" value="false"/>
+ <setting id="cleanup.use_parentheses_in_expressions" value="false"/>
+ <setting id="cleanup.qualify_static_field_accesses_with_declaring_class" value="false"/>
+ <setting id="cleanup.use_this_for_non_static_method_access_only_if_necessary" value="true"/>
+ <setting id="cleanup.use_this_for_non_static_method_access" value="false"/>
+ <setting id="cleanup.qualify_static_member_accesses_through_instances_with_declaring_class" value="true"/>
+ <setting id="cleanup.add_serial_version_id" value="false"/>
+ <setting id="cleanup.format_source_code_changes_only" value="false"/>
+ <setting id="cleanup.qualify_static_member_accesses_with_declaring_class" value="false"/>
+ <setting id="cleanup.always_use_blocks" value="true"/>
+ </profile>
+</profiles>
382 ide-configs/eclipse/as7formatter.xml
View
@@ -0,0 +1,382 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<profiles version="11">
+ <profile kind="CodeFormatterProfile" name="AS7" version="11">
+ <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.disabling_tag" value="@formatter:off"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_field" value="0"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.use_on_off_tags" value="false"/>
+ <setting
+ id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_ellipsis" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_multiple_fields" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_conditional_expression" value="80"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_binary_operator" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_array_initializer" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_package" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.continuation_indentation" value="2"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_binary_operator" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_package" value="0"/>
+ <setting id="org.eclipse.jdt.core.compiler.source" value="1.5"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.format_line_comments" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.join_wrapped_lines" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_member_type" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.align_type_members_on_columns" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_unary_operator" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.indent_parameter_description" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.lineSplit" value="128"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration" value="0"/>
+ <setting id="org.eclipse.jdt.core.formatter.indentation.size" value="4"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.enabling_tag" value="@formatter:on"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_assignment" value="0"/>
+ <setting id="org.eclipse.jdt.core.compiler.problem.assertIdentifier" value="error"/>
+ <setting id="org.eclipse.jdt.core.formatter.tabulation.char" value="space"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_body" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_method" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration"
+ value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_method_declaration" value="0"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_switch" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.compiler.problem.enumIdentifier" value="error"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_ellipsis" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_method_declaration" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.compact_else_if" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_constant" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.indent_root_tags" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.tabulation.size" value="4"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_empty_lines" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_block_in_case" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression"
+ value="16"/>
+ <setting id="org.eclipse.jdt.core.compiler.compliance" value="1.5"/>
+ <setting id="org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer" value="2"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_unary_operator" value="do not insert"/>
+ <setting
+ id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_binary_expression" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode" value="enabled"/>
+ <setting id="org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_label" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.format_javadoc_comments" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.line_length" value="128"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_import_groups" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body" value="0"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header" value="true"/>
+ <setting
+ id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.wrap_before_binary_operator" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header"
+ value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_statements_compare_to_block" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.join_lines_in_comments" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_compact_if" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_before_imports" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.format_html" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional" value="insert"/>
+ <setting
+ id="org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.format_source_code" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration" value="16"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.compiler.codegen.targetPlatform" value="1.5"/>
+ <setting id="org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation" value="0"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_member" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.format_header" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.format_block_comments" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.alignment_for_enum_constants" value="0"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header"
+ value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.brace_position_for_type_declaration" value="end_of_line"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for" value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch" value="insert"/>
+ <setting
+ id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries" value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.blank_lines_after_imports" value="1"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations"
+ value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header"
+ value="true"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for" value="insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments"
+ value="do not insert"/>
+ <setting id="org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column" value="false"/>
+ <setting id="org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line" value="false"/>
+ </profile>
+</profiles>
27 ide-configs/eclipse/as7templates.xml
View
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<templates>
+ <template autoinsert="false" context="filecomment_context" deleted="false"
+ description="Comment for created Java files" enabled="true"
+ id="org.eclipse.jdt.ui.text.codetemplates.filecomment" name="filecomment">/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2010, Red Hat, Inc., and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+ </template>
+</templates>
16 impl/src/main/java/org/jboss/jsr299/tck/AbstractJSR299Test.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -42,7 +42,7 @@
* Abstract JSR299 TCK test.
*/
public abstract class AbstractJSR299Test extends Arquillian {
-
+
protected BeanManager getCurrentManager() {
return getCurrentConfiguration().getManagers().getManager();
}
@@ -158,16 +158,12 @@ public Object getInstanceByName(String name) {
* @return <code>true</code> if throwable type is assignable from specified throwable or any cause in stack (works
* recursively), <code>false</code> otherwise
*/
- protected boolean isThrowablePresent(Class<? extends Throwable> throwableType, Throwable throwable)
- {
- if (throwable == null)
- {
+ protected boolean isThrowablePresent(Class<? extends Throwable> throwableType, Throwable throwable) {
+ if (throwable == null) {
return false;
- } else if (throwableType.isAssignableFrom(throwable.getClass()))
- {
+ } else if (throwableType.isAssignableFrom(throwable.getClass())) {
return true;
- } else
- {
+ } else {
return isThrowablePresent(throwableType, throwable.getCause());
}
}
46 impl/src/main/java/org/jboss/jsr299/tck/DeploymentFailure.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -19,38 +19,30 @@
/**
* Not in use since arquillian migration.
*
- * A category exception which can be declared in the @ExpectedDeploymentException
- * annotation of an @Artifact to detect a definition error as described in
- * Section 12.4, "Problems detected automatically by the container".
+ * A category exception which can be declared in the @ExpectedDeploymentException annotation of an @Artifact to detect a
+ * definition error as described in Section 12.4, "Problems detected automatically by the container".
*/
-public class DeploymentFailure extends RuntimeException
-{
+public class DeploymentFailure extends RuntimeException {
- /**
- *
+ /**
+ *
*/
- private static final long serialVersionUID = 3544233876045340712L;
+ private static final long serialVersionUID = 3544233876045340712L;
-public DeploymentFailure()
- {
- super();
- }
+ public DeploymentFailure() {
+ super();
+ }
- public DeploymentFailure(String message, Throwable cause)
- {
- super(message, cause);
- }
-
- public DeploymentFailure(String message)
- {
- super(message);
- }
-
- public DeploymentFailure(Throwable cause)
- {
- super(cause);
- }
+ public DeploymentFailure(String message, Throwable cause) {
+ super(message, cause);
+ }
+ public DeploymentFailure(String message) {
+ super(message);
+ }
+ public DeploymentFailure(Throwable cause) {
+ super(cause);
+ }
}
123 impl/src/main/java/org/jboss/jsr299/tck/ForwardingBean.java
View
@@ -9,7 +9,7 @@
* 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,
+ * 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.
@@ -25,72 +25,59 @@
import javax.enterprise.inject.spi.InjectionPoint;
/**
- * TODO check if possible to remove - not used in TCK
+ * TODO check if possible to remove - not used in TCK
*/
-public abstract class ForwardingBean<T> implements Bean<T>
-{
-
- protected ForwardingBean()
- {
- }
-
- protected abstract Bean<T> delegate();
-
- public Set<Annotation> getQualifiers()
- {
- return delegate().getQualifiers();
- }
-
- public Set<InjectionPoint> getInjectionPoints()
- {
- return delegate().getInjectionPoints();
- }
-
- public String getName()
- {
- return delegate().getName();
- }
-
- public Class<? extends Annotation> getScope()
- {
- return delegate().getScope();
- }
-
- public Set<Type> getTypes()
- {
- return delegate().getTypes();
- }
-
- public boolean isNullable()
- {
- return delegate().isNullable();
- }
-
- public T create(CreationalContext<T> creationalContext)
- {
- return delegate().create(creationalContext);
- }
-
- public void destroy(T instance, CreationalContext<T> creationalContext)
- {
- delegate().destroy(instance, creationalContext);
- }
-
- @Override
- public boolean equals(Object obj)
- {
- return delegate().equals(obj);
- }
-
- @Override
- public String toString()
- {
- return delegate().toString();
- }
-
- @Override
- public int hashCode()
- {
- return delegate().hashCode();
- }
+public abstract class ForwardingBean<T> implements Bean<T> {
+
+ protected ForwardingBean() {
+ }
+
+ protected abstract Bean<T> delegate();
+
+ public Set<Annotation></