Changes for page Java Code Style
Last modified by Thomas Mortagne on 2023/12/06 15:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -460,12 +460,12 @@ 460 460 ... 461 461 {{/code}} 462 462 463 -= Script Services = 464 - 465 -See [[Best practices for the Script Module>>extensions:Extension.Script Module#HBestPractices]]. 466 - 467 467 = Test classes = 468 468 469 469 We often write sometimes complex tools in ##test## classes but those should never be used in ##main## code. While Maven accept it technically it's not the case of Eclipse for example. 470 470 471 471 If they really are needed then it's a sign that they should probably move to ##main## or that the test tool manipulating those classes should itself have its classes locate in ##test## (see xwiki-platform-test-page for an example for this use case). 468 + 469 += Script Services = 470 + 471 +See [[Best practices for the Script Module>>extensions:Extension.Script Module#HBestPractices]].