Skip to content

Commit 6beed0b

Browse files
committed
Clean-up whitespace in resource and runtime
Using the JDT clean-up action to run the whitespace clean-up in resources and runtime.
1 parent 27a1efe commit 6beed0b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

resources/bundles/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/NullFileStore.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class NullFileStore extends FileStore {
3232

3333
/**
3434
* Creates a null file store
35-
*
35+
*
3636
* @param path The path of the file in this store
3737
*/
3838
public NullFileStore(IPath path) {

resources/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/utils/Policy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void optionsChanged(DebugOptions options) {
4444

4545
Policy.DEBUG_TREE_IMMUTABLE = Policy.DEBUG && options.getBooleanOption(ResourcesPlugin.PI_RESOURCES + "/tree/immutable", false); //$NON-NLS-1$
4646
Policy.DEBUG_TREE_IMMUTABLE_STACK = Policy.DEBUG && options.getBooleanOption(ResourcesPlugin.PI_RESOURCES + "/tree/immutablestack", false); //$NON-NLS-1$
47-
47+
4848
DEBUG_CONTENT_TYPE = DEBUG && options.getBooleanOption(ResourcesPlugin.PI_RESOURCES + "/contenttype", false); //$NON-NLS-1$
4949
DEBUG_CONTENT_TYPE_CACHE = DEBUG && options.getBooleanOption(ResourcesPlugin.PI_RESOURCES + "/contenttype/cache", false); //$NON-NLS-1$
5050
DEBUG_HISTORY = DEBUG && options.getBooleanOption(ResourcesPlugin.PI_RESOURCES + "/history", false); //$NON-NLS-1$

resources/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/FixDotProjectPathResourceListener.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public IStatus run(IProgressMonitor monitor) {
8383
return Status.OK_STATUS;
8484
} catch (CoreException ex) {
8585
return ex.getStatus();
86-
}
86+
}
8787
}
8888
};
8989
job.setRule(project.getWorkspace().getRuleFactory().modifyRule(project.getParent()));
@@ -122,7 +122,7 @@ private void linkDotProject(IProject project) throws CoreException {
122122
dotProject.createLink(IPath.fromFile(targetDiskFile), IResource.FORCE | IResource.REPLACE, null);
123123
sourceDiskFile.delete();
124124
}
125-
125+
126126
private IPath getMetaDataFilePath(String name, IPath projectRelativePath) {
127127
return IPath.fromFile(tmpDir).append(name).append(projectRelativePath);
128128
}
@@ -159,7 +159,7 @@ private void unlink(IFile file) {
159159
}
160160

161161
private void unlinkIfLocal(IResource resource) {
162-
if (resource instanceof IProject project && project.isOpen()) {
162+
if (resource instanceof IProject project && project.isOpen()) {
163163
try {
164164
Arrays.stream(project.members())
165165
.filter(IFile.class::isInstance)

runtime/bundles/org.eclipse.core.jobs/src/org/eclipse/core/runtime/jobs/JobGroup.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,21 +86,21 @@ public class JobGroup extends InternalJobGroup {
8686
* @param seedJobsCount the initial number of jobs that will be added to the job group.
8787
* This is the initial count of jobs with which the creator of the job group will "seed"
8888
* the job group. Those initial jobs may discover more work and add yet more jobs, but
89-
* those additional jobs should not be included in this initial "seed" count.
89+
* those additional jobs should not be included in this initial "seed" count.
9090
* <ul>
9191
* <li>
92-
* If this value is set too high (higher than the number of actually scheduled jobs),
92+
* If this value is set too high (higher than the number of actually scheduled jobs),
9393
* the job group will never transition to the done ({@link #NONE})
9494
* state, {@link #join(long, IProgressMonitor)} calls will hang, and {@link #getResult()}
95-
* calls will return invalid results.
95+
* calls will return invalid results.
9696
* </li>
9797
* <li>
9898
* If this value is set too low, the job group may
9999
* transition to the ({@link #NONE}) state before all of the jobs have been scheduled,
100100
* causing a {@link #join(long, IProgressMonitor)} call to return too early.
101101
* </li>
102-
* <li>Scheduling more jobs to the group after {@code seedJobsCount} previously
103-
* scheduled jobs were finished may cause a {@link #join(long, IProgressMonitor)}
102+
* <li>Scheduling more jobs to the group after {@code seedJobsCount} previously
103+
* scheduled jobs were finished may cause a {@link #join(long, IProgressMonitor)}
104104
* call to return too early.
105105
* </li>
106106
* </ul>

0 commit comments

Comments
 (0)