Skip to content

Commit ce34f89

Browse files
committed
Fix various typos found by @jbduncan
1 parent 005113e commit ce34f89

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ Here's a checklist for creating a new step for Spotless:
9696
- [ ] Class name ends in Step, `SomeNewStep`.
9797
- [ ] Class has a public static method named `create` that returns a `FormatterStep`.
9898
- [ ] Has a test class named `SomeNewStepTest` that uses `StepHarness` or `StepHarnessWithFile` to test the step.
99-
- [ ] Start with `StepHarness.forStep(myStep).supportsRoundTrip(false)`, and then add round trip support as decribed in the next section.
99+
- [ ] Start with `StepHarness.forStep(myStep).supportsRoundTrip(false)`, and then add round trip support as described in the next section.
100100
- [ ] Test class has test methods to verify behavior.
101101
- [ ] Test class has a test method `equality()` which tests equality using `StepEqualityTester` (see existing methods for examples).
102102

103103
### Serialization roundtrip
104104

105-
In order to support Gradle's configuration cache, all `FormatterStep` must be round-trip serializable. This is a bit tricky because step equality is based on the serialied form of the state, and `transient` is used to take absolute paths out of the equality check. To make this work, roundtrip compatible steps actually have *two* states
105+
In order to support Gradle's configuration cache, all `FormatterStep` must be round-trip serializable. This is a bit tricky because step equality is based on the serialized form of the state, and `transient` is used to take absolute paths out of the equality check. To make this work, roundtrip compatible steps actually have *two* states:
106106

107107
- `RoundtripState` which must be roundtrip serializable but has no equality constraints
108108
- `FileSignature.Promised` for settings files and `JarState.Promised` for the classpath

0 commit comments

Comments
 (0)