Skip to content

Commit 37dac27

Browse files
authored
Fix typos (#1295)
2 parents aa6cfac + e0b6134 commit 37dac27

File tree

12 files changed

+15
-15
lines changed

12 files changed

+15
-15
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ The `_ext` projects are disabled per default, since:
129129

130130
The `_ext` can be activated via the root project property `com.diffplug.spotless.include.ext`.
131131

132-
Activate the the property via command line, like for example:
132+
Activate the property via command line, like for example:
133133

134134
```
135135
gradlew -Pcom.diffplug.spotless.include.ext=true build

_ext/eclipse-base/src/main/java/com/diffplug/spotless/extra/eclipse/base/SpotlessEclipseFramework.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public enum DefaultBundles {
6161
REGISTRY(org.eclipse.core.internal.registry.osgi.Activator.class),
6262
/** Eclipse preferences always check whether this bundle has been activated before preference are set.*/
6363
PREFERENCES(org.eclipse.core.internal.preferences.Activator.class),
64-
/** The common runtime provides provides common services, like log and service adapters registry. */
64+
/** The common runtime provides common services, like log and service adapters registry. */
6565
COMMON(org.eclipse.core.internal.runtime.Activator.class);
6666

6767
private final Class<? extends BundleActivator> activatorClass;

_ext/eclipse-base/src/main/java/com/diffplug/spotless/extra/eclipse/base/osgi/BundleController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public BundleController() throws BundleException {
7676
services.add(org.osgi.service.packageadmin.PackageAdmin.class, bundleLookup);
7777
services.add(FrameworkWiring.class, bundleLookup);
7878

79-
//Redirect framework activator requests to the the org.eclipse.osgi bundle to this instance.
79+
//Redirect framework activator requests to the org.eclipse.osgi bundle to this instance.
8080
bundles.add(new SimpleBundle(systemBundle, ECLIPSE_LAUNCHER_SYMBOLIC_NAME, Bundle.ACTIVE));
8181
FrameworkBundleRegistry.initialize(this);
8282
}

_ext/eclipse-groovy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ To fix this, we publish Groovy-Eclipse's formatter and all its dependencies, alo
55

66
## Build
77

8-
To publish a new version, update the `_ext/eclipse-groovy/gradle.properties` appropriately and and see [CONTRIBUTING.md](../../CONTRIBUTING.md) how to enable
8+
To publish a new version, update the `_ext/eclipse-groovy/gradle.properties` appropriately and see [CONTRIBUTING.md](../../CONTRIBUTING.md) how to enable
99
`_ext` projects.
1010

1111
## License

_ext/eclipse-jdt/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Eclipse JDT and its dependencies require a large amount of byte code.
44
Hence they should not be directly be required by the Spotless, but only be requested in case
55
they are configured by the Spotless configuration. Hence we publish Eclipse's formatter and all its dependencies, along with a small amount of glue code, into the `com.diffplug.gradle.spotless:spotless-eclipse-jdt` artifact.
66

7-
To publish a new version, update the `_ext/eclipse-jdt/gradle.properties` appropriately and and see [CONTRIBUTING.md](../../CONTRIBUTING.md) how to enable
7+
To publish a new version, update the `_ext/eclipse-jdt/gradle.properties` appropriately and see [CONTRIBUTING.md](../../CONTRIBUTING.md) how to enable
88
`_ext` projects.
99

1010
## License

_ext/eclipse-wtp/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Eclipse WTP is not available in a form which can be easily consumed by maven or gradle. To fix this, we publish Eclipse's WTP formatters, along with a small amount of glue code, into the `com.diffplug.spotless.extra:spotless-eclipse-wtp` artifact.
44

5-
To publish a new version, update the `_ext/eclipse-wtp/gradle.properties` appropriately and and see [CONTRIBUTING.md](../../CONTRIBUTING.md) how to enable
5+
To publish a new version, update the `_ext/eclipse-wtp/gradle.properties` appropriately and see [CONTRIBUTING.md](../../CONTRIBUTING.md) how to enable
66
`_ext` projects.
77

88
## License

_ext/eclipse-wtp/src/main/java/com/diffplug/spotless/extra/eclipse/wtp/sse/PluginPreferences.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog;
3434

3535
/**
36-
* The plugin preference configuration of most WTP formatters is accomplished via the the
36+
* The plugin preference configuration of most WTP formatters is accomplished via the
3737
* globabl Eclipse preference lookup.
3838
* Spotless allows different formatter configurations per sub-projects.
3939
* Fortunately most formatters only perform a lookup on instantiation and not afterwards.

gradle/spotless-freshmark.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ if (tasks.names.contains('changelogCheck')) {
7575
changelogBumpFreshmark.dependsOn tasks.named('changelogBump')
7676

7777
def changelogBumpFreshmarkGitAdd = tasks.register('changelogBumpFreshmarkGitAdd') {
78-
// this git add add should run after the freshmark
78+
// this git add should run after the freshmark
7979
dependsOn(changelogBumpFreshmark)
8080
// do the git add
8181
doLast {

lib/src/main/java/com/diffplug/spotless/FeatureClassLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2022 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@
3030
* This class loader is used to load classes of Spotless features from a search
3131
* path of URLs.<br/>
3232
* Features shall be independent from build tools. Hence the class loader of the
33-
* underlying build tool is e.g. skipped during the the search for classes.<br/>
33+
* underlying build tool is e.g. skipped during the search for classes.<br/>
3434
*
3535
* For `com.diffplug.spotless.glue.`, classes are redefined from within the lib jar
3636
* but linked against the `Url[]`. This allows us to ship classfiles which function as glue

lib/src/main/java/com/diffplug/spotless/PaddedCell.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2021 DiffPlug
2+
* Copyright 2016-2022 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -236,7 +236,7 @@ public static DirtyState calculateDirtyState(Formatter formatter, File file, byt
236236

237237
/**
238238
* The clean/dirty state of a single file. Intended use:
239-
* - {@link #isClean()} means that the file is is clean, and there's nothing else to say
239+
* - {@link #isClean()} means that the file is clean, and there's nothing else to say
240240
* - {@link #didNotConverge()} means that we were unable to determine a clean state
241241
* - once you've tested the above conditions and you know that it's a dirty file with a converged state,
242242
* then you can call {@link #writeCanonicalTo(OutputStream)} to get the canonical form of the given file.

0 commit comments

Comments
 (0)