rspec/rules/S107/apex/split-example.adoc
2023-08-10 16:54:47 +02:00

12 lines
277 B
Plaintext

[source,apex]
----
// Each function does a part of what the original setCoordinates function was doing, so confusion risks are lower
void setOrigin(Integer x, Integer y, Integer z) {
// ...
}
void setSize(Integer width, Integer height, Integer depth) {
// ...
}
----