Removes trailing whitesplace from org.eclipse.core.tests.resources
Change-Id: I0f5fef76a2d90ce8457bbbab3394df6752e25c21
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/AllTests.java
index 92f26bd..236cc79 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Martin Oberhuber (Wind River) - [] add SymlinkTest tests
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/CreateDirectoryTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/CreateDirectoryTest.java
index 277d7b5..8e31033 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/CreateDirectoryTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/CreateDirectoryTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/DeleteTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/DeleteTest.java
index 9f7255a..e47361a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/DeleteTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/DeleteTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/EFSTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/EFSTest.java
index 9d37baa..1d6a3c9 100755
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/EFSTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/EFSTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileCacheTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileCacheTest.java
index e3d76d7..d9b5eab 100755
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileCacheTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileCacheTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileStoreTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileStoreTest.java
index 0267f4f..3f3431a 100755
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileStoreTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileStoreTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -319,14 +319,14 @@
}
public void testGetLength() throws Exception {
- // evaluate test environment
+ // evaluate test environment
IPath root = getWorkspace().getRoot().getLocation().append("" + new Date().getTime());
IFileStore temp = createDir(root.toString(), true);
try {
// create common objects
IFileStore target = temp.getChild("target");
- // test non-existent file
+ // test non-existent file
assertEquals("1.0", EFS.NONE, target.fetchInfo().getLength());
// create empty file
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileSystemTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileSystemTest.java
index c6c9c17..f80f57f 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileSystemTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/FileSystemTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -44,7 +44,7 @@
/**
* Asserts that a file store exists.
- *
+ *
* @param message The failure message if the assertion fails
* @param store The store to check for existence
*/
@@ -112,10 +112,10 @@
}
/**
- * The base file system to be tested is setup here.
+ * The base file system to be tested is setup here.
* The default implementation sets up in-memory file system (@see MemoryFileSystem).
- * <p>
- * Subclasses should override to test a different file system
+ * <p>
+ * Subclasses should override to test a different file system
* implementation and set up its base directory.
* </p>
*/
@@ -126,10 +126,10 @@
}
/**
- * Tear down the tested base file system and base directory here.
+ * Tear down the tested base file system and base directory here.
* The default implementation tears down in memory file system (@see MemoryFileSystem).
- * <p>
- * Subclasses should override to tear down a different file system
+ * <p>
+ * Subclasses should override to tear down a different file system
* implementation and its base directory.
* </p>
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/OpenOutputStreamTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/OpenOutputStreamTest.java
index 475a877..1e38293 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/OpenOutputStreamTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/OpenOutputStreamTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -15,7 +15,7 @@
import org.eclipse.core.runtime.CoreException;
/**
- *
+ *
*/
public class OpenOutputStreamTest extends FileSystemTest {
public OpenOutputStreamTest() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/PutInfoTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/PutInfoTest.java
index 7178fdf..1578a0f 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/PutInfoTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/PutInfoTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java
index c09b537..da68598 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/SymlinkTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Martin Oberhuber (Wind River) - initial API and implementation
* John Arthorne (IBM) - [172346] disable tests with problematic Platform encoding
@@ -26,7 +26,7 @@
import org.eclipse.core.runtime.Platform;
/**
- *
+ *
*/
public class SymlinkTest extends FileSystemTest {
/**
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/URIUtilTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/URIUtilTest.java
index b13d96b..ef96643 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/URIUtilTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/filesystem/URIUtilTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
index bb00543..9debae9 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/alias/BasicAliasTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
@@ -106,7 +106,7 @@
ensureExistsInWorkspace(pNoOverlap, true);
ensureExistsInWorkspace(buildResources(pNoOverlap, new String[] {"/1/", "/1/1", "/1/2", "/2/", "/2/1"}), true);
- //project with overlap
+ //project with overlap
pOverlap = root.getProject("Overlap");
ensureExistsInWorkspace(pOverlap, true);
fOverlap = pOverlap.getFolder("fOverlap");
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AbstractBuilderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AbstractBuilderTest.java
index a73d623..2b93aa1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AbstractBuilderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AbstractBuilderTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
@@ -37,7 +37,7 @@
}
/**
- * Creates and returns a new command with the SortBuilder, and the TestBuilder.BUILD_ID
+ * Creates and returns a new command with the SortBuilder, and the TestBuilder.BUILD_ID
* parameter set to the given value.
*/
protected ICommand createCommand(IProjectDescription description, String buildID) {
@@ -45,7 +45,7 @@
}
/**
- * Creates and returns a new command with the given builder name, and the TestBuilder.BUILD_ID
+ * Creates and returns a new command with the given builder name, and the TestBuilder.BUILD_ID
* parameter set to the given value.
*/
protected ICommand createCommand(IProjectDescription description, String builderName, String buildID) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AllTests.java
index 875a628..e87c4fe 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Broadcom Corp. - build configurations
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuildEventListener.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuildEventListener.java
index 506c379..51d80ea 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuildEventListener.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuildEventListener.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderEventTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderEventTest.java
index 4ead611..d6e0971 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderEventTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderEventTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java
index 7cbf89b..7d7c12a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderNatureTest.java
@@ -52,7 +52,7 @@
}
public void testBasic() {
- //add the water and snow natures to the project, and ensure
+ //add the water and snow natures to the project, and ensure
//the snow builder gets run
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject("P1");
ensureExistsInWorkspace(project, true);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderTest.java
index dc421ba..86d280e 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/BuilderTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -27,7 +27,7 @@
/**
* This class tests public API related to building and to build specifications.
* Specifically, the following methods are tested:
- *
+ *
* IWorkspace#build IProject#build IProjectDescription#getBuildSpec
* IProjectDescription#setBuildSpec
*/
@@ -45,7 +45,7 @@
/**
* BuilderTest constructor comment.
- *
+ *
* @param name
* java.lang.String
*/
@@ -81,7 +81,7 @@
/**
* Tests the lifecycle of a builder.
- *
+ *
* @see SortBuilder
*/
public void testAutoBuildPR() {
@@ -229,7 +229,7 @@
/**
* Tests the lifecycle of a builder.
- *
+ *
* @see SortBuilder
*/
public void testBuildCommands() {
@@ -422,7 +422,7 @@
/**
* Tests the lifecycle of a builder.
- *
+ *
* @see SortBuilder
*/
public void testBuildOrder() {
@@ -543,7 +543,7 @@
// Set up a plug-in lifecycle verifier for testing purposes
TestBuilder verifier = SortBuilder.getInstance();
verifier.reset();
- //create project two and establish a build order by adding a dynamic
+ //create project two and establish a build order by adding a dynamic
//reference from proj2->proj1 in the same operation
try {
getWorkspace().run((IWorkspaceRunnable) monitor -> {
@@ -1179,7 +1179,7 @@
/**
* Tests the lifecycle of a builder.
- *
+ *
* @see SortBuilder
*/
public void testMoveProject() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ConfigurationBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ConfigurationBuilder.java
index e2a31da..8409708 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ConfigurationBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ConfigurationBuilder.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Broadcom Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ContextBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ContextBuilder.java
index d9b434d..0405f40 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ContextBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ContextBuilder.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Broadcom Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomBuildTriggerTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomBuildTriggerTest.java
index 24df02a..66cbb6d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomBuildTriggerTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomBuildTriggerTest.java
@@ -3,7 +3,7 @@
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors: IBM - Initial API and implementation
******************************************************************************/
package org.eclipse.core.tests.internal.builders;
@@ -39,7 +39,7 @@
/**
* Tests that a builder that responds only to the "full" trigger will be called
- * on the first build after a clean.
+ * on the first build after a clean.
* See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=182781.
*/
public void testBuildAfterClean_builderRespondingToFull() throws CoreException {
@@ -51,7 +51,7 @@
// Create some resources
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
command = createCommand(desc, CustomTriggerBuilder.BUILDER_NAME, "Build0");
command.setBuilding(IncrementalProjectBuilder.AUTO_BUILD, false);
@@ -104,7 +104,7 @@
// Create some resources
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
command = createCommand(desc, CustomTriggerBuilder.BUILDER_NAME, "Build0");
command.setBuilding(IncrementalProjectBuilder.AUTO_BUILD, false);
@@ -164,7 +164,7 @@
// Create some resources
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
command = createCommand(desc, CustomTriggerBuilder.BUILDER_NAME, "Build0");
command.setBuilding(IncrementalProjectBuilder.AUTO_BUILD, true);
@@ -220,7 +220,7 @@
// Create some resources
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
desc.setBuildSpec(new ICommand[] {createCommand(desc, CustomTriggerBuilder.BUILDER_NAME, "Build0")});
project.setDescription(desc, getMonitor());
@@ -343,7 +343,7 @@
// Create some resources
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
desc.setBuildSpec(new ICommand[] {createCommand(desc, "Build0")});
project.setDescription(desc, getMonitor());
@@ -407,7 +407,7 @@
// Create some resources
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
command = createCommand(desc, CustomTriggerBuilder.BUILDER_NAME, "Build0");
command.setBuilding(IncrementalProjectBuilder.AUTO_BUILD, false);
@@ -459,7 +459,7 @@
/**
* Tests that a builder that responds only to the "full" trigger will be called
- * on the first and only first build after a clean.
+ * on the first and only first build after a clean.
* See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=206540.
*/
public void testCleanBuild_AfterCleanBuilder() throws CoreException {
@@ -471,7 +471,7 @@
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
command = createCommand(desc, CustomTriggerBuilder.BUILDER_NAME, "Build0");
command.setBuilding(IncrementalProjectBuilder.AUTO_BUILD, false);
@@ -530,7 +530,7 @@
/**
* Tests that a builder that responds only to the "full" trigger will be called
- * on the first and only first (non-auto) build after a clean.
+ * on the first and only first (non-auto) build after a clean.
* See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=206540.
*/
public void testCleanAutoBuild_AfterCleanBuilder() throws CoreException {
@@ -542,7 +542,7 @@
project.create(getMonitor());
project.open(getMonitor());
- // Create and set a build specs for project
+ // Create and set a build specs for project
IProjectDescription desc = project.getDescription();
command = createCommand(desc, CustomTriggerBuilder.BUILDER_NAME, "Build0");
command.setBuilding(IncrementalProjectBuilder.AUTO_BUILD, false);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomTriggerBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomTriggerBuilder.java
index 4906c57..87e664b 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomTriggerBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/CustomTriggerBuilder.java
@@ -3,7 +3,7 @@
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors: IBM - Initial API and implementation
******************************************************************************/
package org.eclipse.core.tests.internal.builders;
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/DeltaVerifierBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/DeltaVerifierBuilder.java
index bfd31f5..b68e613 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/DeltaVerifierBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/DeltaVerifierBuilder.java
@@ -82,7 +82,7 @@
* Signals to the comparer that the given resource is expected to change in
* the specified way. The change flags should be set to zero if no change is
* expected.
- *
+ *
* @param resource
* the resource that is expected to change
* @param topLevelParent
@@ -103,7 +103,7 @@
* Signals to the comparer that the given resource is expected to change in
* the specified way. The change flags should be set to zero if no change is
* expected.
- *
+ *
* @param resource
* the resource that is expected to change
* @param topLevelParent
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder.java
index c9bc3ed..29e6b5e 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder2.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder2.java
index eb7d168..bb5d28d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder2.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaBuilder2.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaTest.java
index 25d6316..ebb2e14 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/EmptyDeltaTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ExceptionBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ExceptionBuilder.java
index 5720e38..9f88d03 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ExceptionBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/ExceptionBuilder.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/MultiProjectBuildTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/MultiProjectBuildTest.java
index a13d1d5..ce08fe3 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/MultiProjectBuildTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/MultiProjectBuildTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RefreshLocalJavaFileBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RefreshLocalJavaFileBuilder.java
index 3f43401..b4afe0a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RefreshLocalJavaFileBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RefreshLocalJavaFileBuilder.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
@@ -17,7 +17,7 @@
import org.eclipse.core.runtime.*;
/**
- * This builder is for investigating a PR. It creates java files on disk, then
+ * This builder is for investigating a PR. It creates java files on disk, then
* does refresh local to bring them into the workspace. It creates the same file
* regardless of full vs. incremental build, or what the delta is.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RelaxedSchedRuleBuilderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RelaxedSchedRuleBuilderTest.java
index 96008d9..1af7ab8 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RelaxedSchedRuleBuilderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/RelaxedSchedRuleBuilderTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* James Blackburn (Broadcom Corp.) - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -24,7 +24,7 @@
/**
* This class tests extended functionality (since 3.6) which allows
* builders to be run with reduced (non-Workspace) scheduling rules.
- *
+ *
* When one of these builders runs, other threads may modify the workspace
* depending on the builder's scheduling rule
*/
@@ -231,7 +231,7 @@
* As the builder is run with a relaxed scheduling rule, we ensure that any changes made before
* the build is actually run are present in the delta.
* Acquiring the scheduling rule must be done outside of the WS lock, so this tests that
- * a change which sneaks in during the window or the build thread acquiring its scheduling
+ * a change which sneaks in during the window or the build thread acquiring its scheduling
* rule, is correctly present in the builder's delta.
* @throws Exception
*/
@@ -262,7 +262,7 @@
@Override
public ISchedulingRule getRule(String name, IncrementalProjectBuilder builder, int trigger, Map<String, String> args) {
// Remove once Bug 331187 is fixed.
- // Currently #getRule is called twice when building a specific build configuration (so as to minimized change in
+ // Currently #getRule is called twice when building a specific build configuration (so as to minimized change in
// 3.7 end-game. As this test is trying to provoke a bug in the window between fetching a rule and applying it
// to the build, we don't want to run the first time #getRule is called (in Workspace#build)
if (!called) {
@@ -390,7 +390,7 @@
Job j;
- // Enable for Bug 331187
+ // Enable for Bug 331187
// // IProject.build()
// j = new Job("IProject.build()") {
// protected IStatus run(IProgressMonitor monitor) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/TestBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/TestBuilder.java
index bad11a2..ea1379d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/TestBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/builders/TestBuilder.java
@@ -99,7 +99,7 @@
/**
* Implements the inherited abstract method in
* <code>InternalBuilder</code>.
- *
+ *
* @see InternalBuilder#build(IResourceDelta,int,IProgressMonitor)
*/
@Override
@@ -143,7 +143,7 @@
/**
* Return the configuration element that created this builder.
- *
+ *
* @see setInitializationData(IConfigurationElement, String, Object)
*/
public IConfigurationElement getConfigurationElement() {
@@ -153,7 +153,7 @@
/**
* Return the data, always a <code>Hashtable</code> or <code>String</code>,
* that was set when this builder was initialized.
- *
+ *
* @see setInitializationData(IConfigurationElement, String, Object)
*/
public Object getData() {
@@ -163,7 +163,7 @@
/**
* Return the name of the child configuration element that named this
* builder in its class attribute.
- *
+ *
* @see setInitializationData(IConfigurationElement, String, Object)
*/
public String getName() {
@@ -188,7 +188,7 @@
/**
* Part of <code>IExecutableExtensionAdaptor</code> interface.
- *
+ *
* @see IExecutableExtensionAdaptor
* @see IConfigurationElement#createExecutableExtension(String)
*/
@@ -202,7 +202,7 @@
/**
* Implemented inherited method from <code>BaseBuilder</code>.
- *
+ *
* @see BaseBuilder#startupOnInitialize
*/
@Override
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DataTreeTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DataTreeTest.java
index 906bb18..84e2c1d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DataTreeTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DataTreeTest.java
@@ -66,7 +66,7 @@
}
/**
- * Run all tests
+ * Run all tests
*/
public static Test suite() {
TestSuite suite = new TestSuite(DataTreeTest.class);
@@ -236,7 +236,7 @@
/**
* Initialize the receiver so that it is a complete, empty tree. It does
- * not represent a delta on another tree. An empty tree is defined to
+ * not represent a delta on another tree. An empty tree is defined to
* have a root node with nil data and no children.
*/
public void testEmpty() {
@@ -322,7 +322,7 @@
/**
* Answer the number of children of the specified node.
*
- * @exception ObjectNotFoundException
+ * @exception ObjectNotFoundException
* parentKey does not exist in the receiver
*/
public void testGetChildCount() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DeltaDataTreeTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DeltaDataTreeTest.java
index 5575b88..95e09c1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DeltaDataTreeTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/dtree/DeltaDataTreeTest.java
@@ -108,7 +108,7 @@
}
/**
- * Run all tests
+ * Run all tests
*/
public static Test suite() {
@@ -421,7 +421,7 @@
/**
* Initialize the receiver so that it is a complete, empty tree. It does
- * not represent a delta on another tree. An empty tree is defined to
+ * not represent a delta on another tree. An empty tree is defined to
* have a root node with nil data and no children.
*/
@Override
@@ -594,7 +594,7 @@
/**
* Answer the number of children of the specified node.
*
- * @exception ObjectNotFoundException
+ * @exception ObjectNotFoundException
* parentKey does not exist in the receiver
*/
@Override
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileStore.java
index de4c2da..d64e973 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,7 +19,7 @@
import org.eclipse.core.tests.internal.filesystem.ram.MemoryFileStore;
/**
- *
+ *
*/
public class BogusFileStore extends MemoryFileStore {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileSystem.java
index 22a93fd..1d53349 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bogus/BogusFileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileStore.java
index dc1702e..e287b51 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -20,7 +20,7 @@
import org.junit.Assert;
/**
- *
+ *
*/
public class BrokenFileStore extends FileStore {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileSystem.java
index 8155705..2b359b9 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/broken/BrokenFileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileStore.java
index 19936d6..ee4cfa7 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileSystem.java
index be39306..543cbf6 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug369177/Bug369177FileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileStore.java
index 4f183d3..5fef03f 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileSystem.java
index d13c44f..b4cefbd 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileTree.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileTree.java
index 202c3ad..335890b 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileTree.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/bug440110/Bug440110FileTree.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileStore.java
index 63c56ea..776328b 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileSystem.java
index 1616c39..77c8849 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryFileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryTree.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryTree.java
index 54ff644..f494f36 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryTree.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/MemoryTree.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -214,7 +214,7 @@
/**
* Returns the node at the given path, or null if not found.
- *
+ *
* @param path
* @return
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/Policy.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/Policy.java
index 211d7f4..62e99ba 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/Policy.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/ram/Policy.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -13,7 +13,7 @@
import org.eclipse.core.runtime.*;
/**
- *
+ *
*/
public class Policy {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileStore.java
index c2c94d3..abbd221 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileSystem.java
index 722623f..4d3dcf0 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/remote/RemoteFileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileStore.java
index d83582d..d80334e 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileSystem.java
index 32724e5..b8bb630 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/filesystem/wrapper/WrapperFileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
@@ -24,7 +24,7 @@
* A simple file system implementation that acts as a wrapper around the
* local file system.
* <p>
- * Also allows tests to inject a custom FileStore template class (derived from
+ * Also allows tests to inject a custom FileStore template class (derived from
* {@link WrapperFileStore}). Tests can use {@link #setCustomFileStore(Class)}
* to override default {@link WrapperFileStore} behaviour.
* </p>
@@ -55,7 +55,7 @@
* Allows tests to easily override existing IFileStore behaviour.
* By extending {@link WrapperFileStore} conditions difficult to simulate
* on the LocalFileSystem can be provoked.
- *
+ *
* @param fs filestore, or null to use default {@link WrapperFileStore}
* based implementation.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/BucketTreeTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/BucketTreeTests.java
index 457955b..e94ad92 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/BucketTreeTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/BucketTreeTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CaseSensitivityTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CaseSensitivityTest.java
index 5de346f..aa65bc2 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CaseSensitivityTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CaseSensitivityTest.java
@@ -454,7 +454,7 @@
java.io.File dir = herringRouge.getLocation().toFile();
dir.mkdir();
- // do a refresh, which should cause a problem
+ // do a refresh, which should cause a problem
try {
project.refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException e) {
@@ -485,7 +485,7 @@
ensureDoesNotExistInFileSystem(file);
ensureExistsInFileSystem(herringRouge);
- // do a refresh, which should cause a problem
+ // do a refresh, which should cause a problem
try {
project.refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException e) {
@@ -516,7 +516,7 @@
ensureDoesNotExistInFileSystem(folder);
ensureExistsInFileSystem(herringRouge);
- // do a refresh, which should cause a problem
+ // do a refresh, which should cause a problem
try {
project.refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException e) {
@@ -551,7 +551,7 @@
dir.mkdir();
assertTrue("2.1", dir.exists());
- // do a refresh, which should cause a problem
+ // do a refresh, which should cause a problem
try {
project.refreshLocal(IResource.DEPTH_INFINITE, null);
} catch (CoreException e) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CopyTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CopyTest.java
index e144d46..7e30d13 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CopyTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/CopyTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/DeleteTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/DeleteTest.java
index ce1806e..c53b1ee 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/DeleteTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/DeleteTest.java
@@ -301,7 +301,7 @@
public void testDeleteResource() throws Throwable {
/* test's hierarchy
-
+
P0
|
|-- folder
@@ -323,7 +323,7 @@
| |-- susubfileSync
| |
| |-- susubfileUnsync
-
+
*/
/* =================== */
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryBucketTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryBucketTest.java
index 811b9ad..fd7e6ae 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryBucketTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryBucketTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -166,7 +166,7 @@
assertEquals("3.3", timestamp2, entry.getTimestamp(0));
assertEquals("3.4", uuid1, entry.getUUID(1));
assertEquals("3.5", timestamp1, entry.getTimestamp(1));
- // adds a 3rd state, with the same timestamp as the 1st
+ // adds a 3rd state, with the same timestamp as the 1st
UniversalUniqueIdentifier uuid3 = new UniversalUniqueIdentifier();
long timestamp3 = timestamp1;
index.addBlob(path, uuid3, timestamp3);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryStoreTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryStoreTest.java
index 833d72b..c6d8de7 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryStoreTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/HistoryStoreTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -98,7 +98,7 @@
public static Test suite() {
// TestSuite suite = new TestSuite(HistoryStoreTest.class.getName());
// suite.addTest(new HistoryStoreTest("testMoveProject"));
- // suite.addTest(new HistoryStoreTest("testFindDeleted"));
+ // suite.addTest(new HistoryStoreTest("testFindDeleted"));
// return suite;
return new TestSuite(HistoryStoreTest.class);
}
@@ -165,14 +165,14 @@
}
/**
- * Test the various policies in place to ensure that the history store
+ * Test the various policies in place to ensure that the history store
* does not grow to unmanageable size. The policies currently in place
* include:
* - store only a maximum number of states for each file
* - do not store files greater than some stated size
* - consider history store information stale after some specified period
* of time and discard stale data
- *
+ *
* History store states are always stored in order from the newest state to
* the oldest state. This will be tested as well
*
@@ -192,7 +192,7 @@
* 10. Check each of the states for this file and ensure they are not
* greater than 7 bytes.
* 11. Revert to policy in #3
- * 12. Make sure we still have 5 states for file.txt (the first file we
+ * 12. Make sure we still have 5 states for file.txt (the first file we
* worked with)
* 13. Change the policy so that data older than 10 seconds is stale.
* 14. Wait 12 seconds (make it longer than 10 seconds to ensure we don't
@@ -451,7 +451,7 @@
* - do not store files greater than some stated size
* - consider history store information stale after some specified period
* of time and discard stale data
- *
+ *
*/
public void testClean() {
/* Create common objects. */
@@ -588,7 +588,7 @@
} catch (CoreException e) {
fail("5.0", e);
}
- // Ensure we have no state information left. It should have been
+ // Ensure we have no state information left. It should have been
// considered stale.
try {
IFileState[] states = file.getHistory(getMonitor());
@@ -1278,7 +1278,7 @@
fail("3.5", e);
}
- // once the project is gone, so is all the history for that project
+ // once the project is gone, so is all the history for that project
try {
// under root
IFile[] df = root.findDeletedMembersWithHistory(IResource.DEPTH_ZERO, getMonitor());
@@ -1474,7 +1474,7 @@
}
// one state in the history
assertEquals("2.2", 1, history.length);
- // the timestamp in the state should match the previous file's timestamp
+ // the timestamp in the state should match the previous file's timestamp
assertEquals("3.0", fileTimeStamp, history[0].getModificationTime());
}
@@ -1895,7 +1895,7 @@
fail("2.0", e);
}
- /* Move source file to second location.
+ /* Move source file to second location.
* Moved files should have the history of the original file.
*/
try {
@@ -1947,8 +1947,8 @@
* Simple use case for History Store.
*
* Scenario: # Editions
- * 1. Create file "content 1" 0
- * 2. Set new content "content 2" 1
+ * 1. Create file "content 1" 0
+ * 2. Set new content "content 2" 1
* 3. Set new content "content 3" 2
* 4. Delete file 3
* 5. Roll back to first version "content 1" 3
@@ -2014,7 +2014,7 @@
/* Roll file back to first version, and ensure that content matches. */
try {
IFileState[] states = file.getHistory(getMonitor());
- // Create the file with the contents from one of the states.
+ // Create the file with the contents from one of the states.
// Won't add another entry to the store.
file.create(states[0].getContents(), false, getMonitor());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/LocalSyncTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/LocalSyncTest.java
index 5b997d8..2367b9c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/LocalSyncTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/LocalSyncTest.java
@@ -50,7 +50,7 @@
/* initialize common objects */
Project project = (Project) projects[0];
- //snapshot will recreate the deleted .project file
+ //snapshot will recreate the deleted .project file
TestingSupport.waitForSnapshot();
// create resources
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/PrefixPoolTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/PrefixPoolTest.java
index 347d651..7b545cb 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/PrefixPoolTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/PrefixPoolTest.java
@@ -1,11 +1,11 @@
/*******************************************************************************
* Copyright (c) 2007, 2012 Wind River Systems, Inc. and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
* Martin Oberhuber (Wind River) - initial API and implementation for [105554]
*******************************************************************************/
package org.eclipse.core.tests.internal.localstore;
@@ -24,7 +24,7 @@
public PrefixPoolTest(String name) {
super(name);
}
-
+
public void testIllegalCapacity() {
boolean exceptionOK=true;
try {
@@ -42,7 +42,7 @@
}
assertTrue(exceptionOK);
}
-
+
public void testPrefixPool() {
PrefixPool p = new PrefixPool(1);
assertFalse(p.containsAsPrefix(""));
@@ -65,7 +65,7 @@
p.insertShorter("/a/B/"); //overrides
assertEquals(3, p.size());
//we now have: /a/b/, /A/, /a/B/
- assertTrue(p.hasPrefixOf("/a/B/"));
+ assertTrue(p.hasPrefixOf("/a/B/"));
assertTrue(p.hasPrefixOf("/a/b/c/d/"));
assertFalse(p.hasPrefixOf("/"));
assertTrue(p.containsAsPrefix("/a/B"));
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/RefreshLocalTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/RefreshLocalTest.java
index 332f1bb..3c0905f 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/RefreshLocalTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/RefreshLocalTest.java
@@ -85,7 +85,7 @@
//
// //should exist in workspace
// assertTrue("1.3", link.exists());
- //
+ //
// //refreshing shouldn't get rid of the link
// try {
// link.refreshLocal(IResource.DEPTH_INFINITE, getMonitor());
@@ -93,14 +93,14 @@
// fail("1.99", e);
// }
// assertTrue("1.4", link.exists());
- //
+ //
// //create the contents in the file system
// try {
// createFileInFileSystem(location);
// } catch (CoreException e) {
// fail("2.99", e);
// }
- //
+ //
// //should now be synchronized
// assertTrue("2.1", project.isSynchronized(IResource.DEPTH_INFINITE));
// assertTrue("2.2", link.isSynchronized(IResource.DEPTH_ZERO));
@@ -111,7 +111,7 @@
// } catch (CoreException e) {
// fail("3.99", e);
// }
- //
+ //
// //assert should exist in workspace
// assertTrue("2.3", link.exists());
}
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeChunkyInputOutputStreamTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeChunkyInputOutputStreamTest.java
index 910de56..792c62f 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeChunkyInputOutputStreamTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeChunkyInputOutputStreamTest.java
@@ -193,7 +193,7 @@
}
/**
- * This method is used to trick the java compiler to avoid reporting
+ * This method is used to trick the java compiler to avoid reporting
* a warning that the stream was not closed. In this test we are intentionally
* not closing the stream to test recovery from failure.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeFileInputOutputStreamTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeFileInputOutputStreamTest.java
index b05d6ac..a8d22d3 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeFileInputOutputStreamTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SafeFileInputOutputStreamTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SymlinkResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SymlinkResourceTest.java
index 9eac98c..06a9130 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SymlinkResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/SymlinkResourceTest.java
@@ -21,7 +21,7 @@
import org.eclipse.core.runtime.Path;
/**
- *
+ *
*/
public class SymlinkResourceTest extends LocalStoreTest {
@@ -79,7 +79,7 @@
* fashion while walking down the tree. A correct implementation should
* stop following symbolic links as soon as a node is reached that has
* been visited before.
- * See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=232426">bug 232426</a>
+ * See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=232426">bug 232426</a>
*/
public void testBug232426() throws Exception {
// Only activate this test if testing of symbolic links is possible.
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/Test342968FileSystem.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/Test342968FileSystem.java
index d74b2fd..b0ccbcc 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/Test342968FileSystem.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/Test342968FileSystem.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Serge Beauchamp
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/UnifiedTreeTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/UnifiedTreeTest.java
index 30a4191..1a97c1a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/UnifiedTreeTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/localstore/UnifiedTreeTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -27,7 +27,7 @@
import org.eclipse.core.runtime.Path;
/**
- *
+ *
*/
public class UnifiedTreeTest extends LocalStoreTest {
protected static int limit = 10;
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/AllTests.java
index 5c1e49a..4c20cf1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeDescription.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeDescription.java
index 93d7a82..310e100 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeDescription.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeDescription.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeValidationTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeValidationTest.java
index 32a2d41..0b425d2 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeValidationTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/ChangeValidationTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/TestModelProvider.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/TestModelProvider.java
index 3981f26..916563e 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/TestModelProvider.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/mapping/TestModelProvider.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -20,7 +20,7 @@
*/
public class TestModelProvider extends ModelProvider {
/**
- * Validation enablement flag to prevent validation when the
+ * Validation enablement flag to prevent validation when the
* tests are not running.
*/
public static boolean enabled = false;
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllTests.java
index e9f691c..9eb4237 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/PropertyManagerTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/PropertyManagerTest.java
index 0f2d733..cf5b212 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/PropertyManagerTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/properties/PropertyManagerTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -215,8 +215,8 @@
ensureExistsInWorkspace(new IResource[] {source, sourceFolder, sourceFile}, true);
- /*
- * persistent properties
+ /*
+ * persistent properties
*/
manager.setProperty(source, propName, propValue);
manager.setProperty(sourceFolder, propName, propValue);
@@ -286,7 +286,7 @@
manager.deleteProperties(target, IResource.DEPTH_INFINITE);
assertTrue("1.3", manager.getProperty(target, propName) == null);
- //test deep deletion of project properties
+ //test deep deletion of project properties
IProject source = projects[0];
IFolder sourceFolder = source.getFolder("myfolder");
IResource sourceFile = sourceFolder.getFile("myfile.txt");
@@ -294,8 +294,8 @@
propValue = "this is the property value";
ensureExistsInWorkspace(new IResource[] {source, sourceFolder, sourceFile}, true);
- /*
- * persistent properties
+ /*
+ * persistent properties
*/
manager.setProperty(source, propName, propValue);
manager.setProperty(sourceFolder, propName, propValue);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/AllTests.java
index 17e5754..417d943 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/FilePropertyTesterTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/FilePropertyTesterTest.java
index 2877a75..f0457b6 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/FilePropertyTesterTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/propertytester/FilePropertyTesterTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/AllTests.java
index e53bd4d..3592e25 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/AllTests.java
@@ -14,7 +14,7 @@
import junit.framework.*;
/**
- * The suite method for this class contains test suites for all automated tests in
+ * The suite method for this class contains test suites for all automated tests in
* this test package.
*/
public class AllTests extends TestCase {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ModelObjectReaderWriterTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ModelObjectReaderWriterTest.java
index 53b41f2..cf4da0b 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ModelObjectReaderWriterTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ModelObjectReaderWriterTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -31,7 +31,7 @@
import org.xml.sax.InputSource;
/**
- *
+ *
*/
public class ModelObjectReaderWriterTest extends ResourceTest {
static final IPath LONG_LOCATION = new Path("/eclipse/dev/i0218/eclipse/pffds/fds//fds///fdsfsdfsd///fdsfdsf/fsdfsdfsd/lugi/dsds/fsd//f/ffdsfdsf/fsdfdsfsd/fds//fdsfdsfdsf/fdsfdsfds/fdsfdsfdsf/fdsfdsfdsds/ns/org.eclipse.help.ui_2.1.0/contexts.xml").setDevice(isWindows() ? "D:" : null);
@@ -301,7 +301,7 @@
/**
* Verifies that project description file is written in a consistent way.
- * (bug 177148)
+ * (bug 177148)
*/
public void testConsistentWrite() throws Throwable {
String locationA = getTempDir().append("testPath1").toPortableString();
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectBuildConfigsTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectBuildConfigsTest.java
index 3825dee..9d85797 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectBuildConfigsTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectBuildConfigsTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Broadcom Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferenceModifyListener.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferenceModifyListener.java
index adaf40e..7a50bde 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferenceModifyListener.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferenceModifyListener.java
@@ -1,10 +1,10 @@
/*******************************************************************************
* Copyright (c) 2005, 2015 IBM Corporation and others.
- * All rights reserved. This program and the accompanying materials
+ * All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferencesTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferencesTest.java
index 1ba2f5d..58a3b48 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferencesTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/ProjectPreferencesTest.java
@@ -353,7 +353,7 @@
/**
* Regression test for Bug 60925 - project preferences do not show up in workspace.
- *
+ *
* Initially we were using java.io.File APIs and writing the preferences files
* directly to disk. We need to convert to use Resource APIs so changes
* show up in the workspace immediately.
@@ -509,7 +509,7 @@
*
* Investigate what happens with project preferences when the
* project is moved.
- *
+ *
* Problems with a key which is the empty string.
*/
public void test_61277c() {
@@ -547,9 +547,9 @@
/*
* Bug 61843 - Saving project preferences failed
- *
- * The project preferences are being accessing (for the first time) from
- * within a resource change listener reacting to a change in the workspace.
+ *
+ * The project preferences are being accessing (for the first time) from
+ * within a resource change listener reacting to a change in the workspace.
*/
public void test_61843() {
// create the project and manually give it a settings file
@@ -615,7 +615,7 @@
}
/*
- * Bug 65068 - When the preferences file is deleted, the corresponding preferences
+ * Bug 65068 - When the preferences file is deleted, the corresponding preferences
* should be forgotten.
*/
public void test_65068() {
@@ -678,7 +678,7 @@
assertEquals("2.2", "value3", properties.get("key3"));
// add a new property
properties.put("key0", "value0");
- // change an existing property
+ // change an existing property
properties.put("key2", "value2".toUpperCase());
// removes a property
properties.remove("key3");
@@ -686,7 +686,7 @@
try {
properties.store(tempOutput, null);
} catch (IOException e) {
- // should never happen, we are not doing I/O
+ // should never happen, we are not doing I/O
fail("2.4", e);
}
ByteArrayInputStream tempInput = new ByteArrayInputStream(tempOutput.toByteArray());
@@ -696,20 +696,20 @@
fail("2.5", e);
}
- // here, project preferences should have caught up with the changes
+ // here, project preferences should have caught up with the changes
node = new ProjectScope(project).getNode(ResourcesPlugin.PI_RESOURCES);
// property was added
assertEquals("3.0", "value0", node.get("key0", null));
- // property value was not changed
+ // property value was not changed
assertEquals("3.1", "value1", node.get("key1", null));
- // property value was changed to upper case
+ // property value was changed to upper case
assertEquals("3.2", "value2".toUpperCase(), node.get("key2", null));
// property was deleted
assertNull("3.3", node.get("key3", null));
}
/*
- * Bug 256900 - When the preferences file is copied between projects, the corresponding preferences
+ * Bug 256900 - When the preferences file is copied between projects, the corresponding preferences
* should be updated.
*/
public void test_256900() {
@@ -751,7 +751,7 @@
/**
* Bug 325000 Project properties not sorted on IBM VMs
- * Creates property file with various characters on front and verifies that they are written in alphabetical order.
+ * Creates property file with various characters on front and verifies that they are written in alphabetical order.
*/
public void test_325000() {
IProject project1 = getProject(getUniqueString());
@@ -1135,7 +1135,7 @@
}
/*
- * Test to ensure that discovering a new pref file (e.g. loading from a repo)
+ * Test to ensure that discovering a new pref file (e.g. loading from a repo)
* is the same as doing an import. (ensure the modify listeners are called)
*/
public void testLoadIsImport() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/SimpleNature.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/SimpleNature.java
index 2a2edb7..40c7983 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/SimpleNature.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/SimpleNature.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/TestActivator.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/TestActivator.java
index 4fa3223..e5cab99 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/TestActivator.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/TestActivator.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -14,7 +14,7 @@
import org.osgi.framework.BundleContext;
/**
- *
+ *
*/
public class TestActivator implements BundleActivator {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspaceConcurrencyTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspaceConcurrencyTest.java
index f3269ce..e75071c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspaceConcurrencyTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspaceConcurrencyTest.java
@@ -65,7 +65,7 @@
public void testCancelOnBlocked() {
//create a dummy project
ensureExistsInWorkspace(getWorkspace().getRoot().getProject("P1"), true);
- //add a resource change listener that blocks forever, thus
+ //add a resource change listener that blocks forever, thus
//simulating a scenario where workspace lock is held indefinitely
final int[] barrier = new int[1];
final Throwable[] error = new Throwable[1];
@@ -80,7 +80,7 @@
};
getWorkspace().addResourceChangeListener(listener);
try {
- //create a thread that modifies the workspace. This should
+ //create a thread that modifies the workspace. This should
//hang indefinitely due to the misbehaving listener
TestWorkspaceJob testJob = new TestWorkspaceJob(10);
testJob.setTouch(true);
@@ -156,8 +156,8 @@
* Tests three overlapping jobs
* - Job 1 (root rule) does a build.
* - Job 2 (null rule) overlaps Job 1 and has null scheduling rule
- * - Job 3 (project rule) overlaps Job 2
- *
+ * - Job 3 (project rule) overlaps Job 2
+ *
* The POST_BUILD event should occur at the end of Job 1. If it
* is delayed until the end of Job 3, an appropriate scheduling rule
* will not be available and it will fail.
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspacePreferencesTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspacePreferencesTest.java
index ffcf68e..672e150 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspacePreferencesTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/resources/WorkspacePreferencesTest.java
@@ -59,8 +59,8 @@
assertEquals("1.0", description, preferences);
// ensures that all properties in the default workspace description
- // appear as non-default-default properties in the property store
- // Don't include the default build order here as it is equivalent to the
+ // appear as non-default-default properties in the property store
+ // Don't include the default build order here as it is equivalent to the
// String default-default (ResourcesPlugin.PREF_BUILD_ORDER).
String[] descriptionProperties = {ResourcesPlugin.PREF_AUTO_BUILDING, ResourcesPlugin.PREF_DEFAULT_BUILD_ORDER, ResourcesPlugin.PREF_FILE_STATE_LONGEVITY, ResourcesPlugin.PREF_MAX_BUILD_ITERATIONS, ResourcesPlugin.PREF_MAX_FILE_STATE_SIZE, ResourcesPlugin.PREF_MAX_FILE_STATES, ResourcesPlugin.PREF_SNAPSHOT_INTERVAL};
List<String> defaultPropertiesList = Arrays.asList(preferences.defaultPropertyNames());
@@ -149,7 +149,7 @@
} catch (CoreException e) {
fail("2.0", e);
}
- // the right number of events should have been fired
+ // the right number of events should have been fired
assertEquals("2.1 - wrong number of properties changed ", 9, changedProperties.size());
} finally {
preferences.removePropertyChangeListener(listener);
@@ -157,7 +157,7 @@
}
/**
- * Ensures preferences with both default/non-default values are properly exported/imported.
+ * Ensures preferences with both default/non-default values are properly exported/imported.
*/
public void testImportExport() {
IPath originalPreferencesFile = getRandomLocation().append("original.epf");
@@ -166,7 +166,7 @@
// saves the current preferences (should be the default ones)
IWorkspaceDescription original = workspace.getDescription();
- // sets a non-used preference to a non-default value so a
+ // sets a non-used preference to a non-default value so a
// preferences file can be generated
preferences.setValue("foo.bar", getRandomString());
@@ -188,7 +188,7 @@
modified.setMaxFileStateSize((original.getMaxFileStateSize() + 1) * 2);
modified.setSnapshotInterval((original.getSnapshotInterval() + 1) * 2);
- // sets modified description
+ // sets modified description
try {
workspace.setDescription(modified);
} catch (CoreException ce) {
@@ -256,9 +256,9 @@
} catch (CoreException ce) {
fail("3.0", ce);
}
- // try to make a change
+ // try to make a change
description.setFileStateLongevity(100000);
- // the original value should remain set
+ // the original value should remain set
assertEquals("3.1", 90000, workspace.getDescription().getFileStateLongevity());
assertEquals("3.2", 90000, preferences.getLong(ResourcesPlugin.PREF_FILE_STATE_LONGEVITY));
}
@@ -289,8 +289,8 @@
}
/**
- * Compares the values in a workspace description with the corresponding
- * properties in a preferences object.
+ * Compares the values in a workspace description with the corresponding
+ * properties in a preferences object.
*/
public void assertEquals(String message, IWorkspaceDescription description, Preferences preferences) throws ComparisonFailure {
assertEquals(message + " - 1", description.isAutoBuilding(), preferences.getBoolean(ResourcesPlugin.PREF_AUTO_BUILDING));
@@ -305,7 +305,7 @@
}
/**
- * Compares two workspace description objects..
+ * Compares two workspace description objects..
*/
public void assertEquals(String message, IWorkspaceDescription description1, IWorkspaceDescription description2) throws ComparisonFailure {
assertEquals(message + " - 1", description1.isAutoBuilding(), description2.isAutoBuilding());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/utils/ObjectMapTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/utils/ObjectMapTest.java
index f7ccf24..9a336fa 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/utils/ObjectMapTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/utils/ObjectMapTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -136,7 +136,7 @@
}
/**
- * The given set is a set of Map.Entry objects.
+ * The given set is a set of Map.Entry objects.
*/
private boolean contains(Set<Map.Entry<Integer, Object>> set, Object value) {
for (Map.Entry<Integer, Object> entry : set) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeDeltaChainTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeDeltaChainTest.java
index dfc95f9..72e6151 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeDeltaChainTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeDeltaChainTest.java
@@ -42,7 +42,7 @@
}
/**
- *
+ *
*/
@Override
protected void tearDown() throws Exception {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeIteratorTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeIteratorTest.java
index 27714ed..c223db2 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeIteratorTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeIteratorTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -19,7 +19,7 @@
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.Path;
-/**
+/**
* Unit tests for <code>ElementTreeIterator</code>.
*/
public class ElementTreeIteratorTest extends WatsonTest {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeSerializationTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeSerializationTest.java
index 9b63f6b..036635b 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeSerializationTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/ElementTreeSerializationTest.java
@@ -111,7 +111,7 @@
}
}
- /**
+ /**
* Write a flattened element tree to a file and read it back.
*/
public Object doFileTest() {
@@ -277,7 +277,7 @@
}
/**
- *
+ *
*/
@Override
protected void tearDown() throws Exception {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/IPathConstants.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/IPathConstants.java
index f7a314a..7547c77 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/IPathConstants.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/IPathConstants.java
@@ -19,7 +19,7 @@
interface IPathConstants {
/**
- * The following paths are used in the tree created by
+ * The following paths are used in the tree created by
* ElementTreeTestUtilities.createTestElementTree()
*/
IPath root = Path.ROOT;
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestElementComparator.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestElementComparator.java
index 2c00dee..bbfc799 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestElementComparator.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestElementComparator.java
@@ -17,8 +17,8 @@
* This is what you would expect for an element tree comparator.
* Clients of the element tree that want specific comparison behaviour
* must define their own element comparator (without subclassing or
- * otherwise extending this comparator). Internal element tree operations
- * rely on the behaviour of this type, and the ElementTree maintainer
+ * otherwise extending this comparator). Internal element tree operations
+ * rely on the behaviour of this type, and the ElementTree maintainer
* reserves the right to change its behaviour as necessary.
*/
public class TestElementComparator implements IElementComparator {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestUtil.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestUtil.java
index de886a4..7f2b1d3 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestUtil.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/TestUtil.java
@@ -177,8 +177,8 @@
static ElementTree createTestElementTree() {
/**
- * This is a sample element tree on which tests are performed.
- * The Paths in this tree are found in IPathConstants. The tree's
+ * This is a sample element tree on which tests are performed.
+ * The Paths in this tree are found in IPathConstants. The tree's
* basic structure is as follows:
* solution
* project1
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/WatsonTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/WatsonTest.java
index 9515040..1503707 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/WatsonTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/internal/watson/WatsonTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/AllTests.java
index 7fe2262..7e2411c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/CharsetTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/CharsetTest.java
index 329e686..d9f2697 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/CharsetTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/CharsetTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
@@ -95,7 +95,7 @@
return new TestSuite(CharsetTest.class);
- // // cause the same test to run several times to catch a timing problem
+ // // cause the same test to run several times to catch a timing problem
// TestSuite suite = new TestSuite();
// for (int i = 0; i < 1000; i++)
// suite.addTest(new CharsetTest("testDeltasFile"));
@@ -108,7 +108,7 @@
/**
* See bug 67606.
- *
+ *
* TODO enable when bug is fixed
*/
public void _testBug67606() throws CoreException {
@@ -250,7 +250,7 @@
@Override
protected void tearDown() throws Exception {
- // restore the workspace charset
+ // restore the workspace charset
ResourcesPlugin.getPlugin().getPluginPreferences().setValue(ResourcesPlugin.PREF_ENCODING, savedWorkspaceCharset);
// Reset the PREF_LIGHTWEIGHT_AUTO_REFRESH preference to its default value.
getResourcesPreferences().remove(ResourcesPlugin.PREF_LIGHTWEIGHT_AUTO_REFRESH);
@@ -522,7 +522,7 @@
assertDoesNotExistInWorkspace("2.4", derivedPrefs);
//3 - setting derived == 'true' for file
- // TODO update the test when bug 345271 is fixed
+ // TODO update the test when bug 345271 is fixed
try {
a.setDerived(true, getMonitor());
} catch (CoreException e) {
@@ -867,7 +867,7 @@
}
/**
- * Tests Content Manager-based charset setting.
+ * Tests Content Manager-based charset setting.
*/
public void testContentBasedCharset() throws CoreException, UnsupportedEncodingException {
IWorkspace workspace = getWorkspace();
@@ -877,25 +877,25 @@
project.setDefaultCharset("FOO", getMonitor());
IFile file = project.getFile("file.xml");
assertEquals("0.9", "FOO", project.getDefaultCharset());
- // content-based encoding is BAR
+ // content-based encoding is BAR
ensureExistsInWorkspace(file, new ByteArrayInputStream(SAMPLE_XML_US_ASCII_ENCODING.getBytes("UTF-8")));
assertEquals("1.0", "US-ASCII", file.getCharset());
- // content-based encoding is FRED
+ // content-based encoding is FRED
file.setContents(new ByteArrayInputStream(SAMPLE_XML_ISO_8859_1_ENCODING.getBytes("ISO-8859-1")), false, false, null);
assertEquals("2.0", "ISO-8859-1", file.getCharset());
// content-based encoding is UTF-8 (default for XML)
file.setContents(new ByteArrayInputStream(SAMPLE_XML_DEFAULT_ENCODING.getBytes("UTF-8")), false, false, null);
assertEquals("3.0", "UTF-8", file.getCharset());
- // tests with BOM -BOMs are strings for convenience, encoded itno bytes using ISO-8859-1 (which handles 128-255 bytes better)
+ // tests with BOM -BOMs are strings for convenience, encoded itno bytes using ISO-8859-1 (which handles 128-255 bytes better)
// tests with UTF-8 BOM
String UTF8_BOM = new String(IContentDescription.BOM_UTF_8, "ISO-8859-1");
file.setContents(new ByteArrayInputStream((UTF8_BOM + SAMPLE_XML_DEFAULT_ENCODING).getBytes("ISO-8859-1")), false, false, null);
assertEquals("4.0", "UTF-8", file.getCharset());
- // tests with UTF-16 Little Endian BOM
+ // tests with UTF-16 Little Endian BOM
String UTF16_LE_BOM = new String(IContentDescription.BOM_UTF_16LE, "ISO-8859-1");
file.setContents(new ByteArrayInputStream((UTF16_LE_BOM + SAMPLE_XML_DEFAULT_ENCODING).getBytes("ISO-8859-1")), false, false, null);
assertEquals("5.0", "UTF-16", file.getCharset());
- // tests with UTF-16 Big Endian BOM
+ // tests with UTF-16 Big Endian BOM
String UTF16_BE_BOM = new String(IContentDescription.BOM_UTF_16BE, "ISO-8859-1");
file.setContents(new ByteArrayInputStream((UTF16_BE_BOM + SAMPLE_XML_DEFAULT_ENCODING).getBytes("ISO-8859-1")), false, false, null);
assertEquals("6.0", "UTF-16", file.getCharset());
@@ -977,7 +977,7 @@
final String USER_SETTING = "USER_CHARSET";
final String PROVIDER_SETTING = "PROVIDER_CHARSET";
- // install a verifier
+ // install a verifier
CharsetVerifier backgroundVerifier = new CharsetVerifier(CharsetVerifier.IGNORE_CREATION_THREAD);
getWorkspace().addResourceChangeListener(backgroundVerifier, IResourceChangeEvent.POST_CHANGE);
IContentTypeManager contentTypeManager = Platform.getContentTypeManager();
@@ -1083,7 +1083,7 @@
backgroundVerifier.reset();
backgroundVerifier.addExpectedChange(new IResource[] {project, folder1, file1, file2, resourcesPrefs, resourcesPrefs.getParent()}, IResourceDelta.CHANGED, IResourceDelta.ENCODING);
- // cause a resource change event without actually changing contents
+ // cause a resource change event without actually changing contents
try {
resourcesPrefs.setContents(resourcesPrefs.getContents(), 0, getMonitor());
} catch (CoreException e) {
@@ -1259,10 +1259,10 @@
try {
IFile prefs = getResourcesPreferenceFile(project, false);
// File:
- // single file
+ // single file
final IFile file1 = project.getFile("file1.txt");
ensureExistsInWorkspace(file1, getRandomContents());
- // change from default
+ // change from default
verifier.reset();
verifier.addExpectedChange(file1, IResourceDelta.CHANGED, IResourceDelta.ENCODING);
verifier.addExpectedChange(new IResource[] {prefs, prefs.getParent()}, IResourceDelta.ADDED, 0);
@@ -1392,7 +1392,7 @@
// sets project default charset
project.setDefaultCharset("BAR", getMonitor());
oldFile.setCharset("FOO", getMonitor());
- // project and non-existing file share the same encoding
+ // project and non-existing file share the same encoding
assertCharsetIs("0.1", "BAR", new IResource[] {project, newXMLFile, newTXTFile, newRandomFile}, true);
// existing file has encoding determined by user
assertCharsetIs("0.2", "FOO", new IResource[] {oldFile}, true);
@@ -1466,7 +1466,7 @@
/**
* Two things to test here:
* - non-existing resources default to the parent's default charset;
- * - cannot set the charset for a non-existing resource (exception is thrown).
+ * - cannot set the charset for a non-existing resource (exception is thrown).
*/
public void testNonExistingResource() throws CoreException {
IWorkspace workspace = getWorkspace();
@@ -1476,7 +1476,7 @@
project.setDefaultCharset("FOO", getMonitor());
fail("1.0");
} catch (CoreException e) {
- // expected, project does not exist yet
+ // expected, project does not exist yet
assertEquals("1.1", IResourceStatus.RESOURCE_NOT_FOUND, e.getStatus().getCode());
}
ensureExistsInWorkspace(project, true);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java
index ca69092..53cdd97 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ContentDescriptionManagerTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -218,7 +218,7 @@
ensureExistsInWorkspace(file, "it really does not matter");
IContentDescription description = null;
- // originally, project description has no natures
+ // originally, project description has no natures
try {
descFile.setContents(projectDescriptionWithNatures(project.getName(), new String[0]), IResource.FORCE, getMonitor());
} catch (CoreException e) {
@@ -229,7 +229,7 @@
assertNotNull("1.2", description);
assertSame("1.3", ((ContentTypeHandler) baseType).getTarget(), ((ContentTypeHandler) description.getContentType()).getTarget());
- // change project description to include one of the natures
+ // change project description to include one of the natures
try {
descFile.setContents(projectDescriptionWithNatures(project.getName(), new String[] {CONTENT_TYPE_RELATED_NATURE1}), IResource.FORCE, getMonitor());
} catch (CoreException e) {
@@ -240,7 +240,7 @@
assertNotNull("2.2", description);
assertSame("2.3", ((ContentTypeHandler) baseType).getTarget(), ((ContentTypeHandler) description.getContentType()).getTarget());
- // change project description to include the other nature
+ // change project description to include the other nature
try {
descFile.setContents(projectDescriptionWithNatures(project.getName(), new String[] {CONTENT_TYPE_RELATED_NATURE2}), IResource.FORCE, getMonitor());
} catch (CoreException e) {
@@ -360,7 +360,7 @@
} catch (BackingStoreException e) {
fail("0.99", e);
}
- // there are no local settings yet, everything should be the same
+ // there are no local settings yet, everything should be the same
description = getDescription("1.0a", txtFile);
assertNotNull("1.0b", description);
assertEquals("1.0c", text, description.getContentType());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/FilteredResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/FilteredResourceTest.java
index d6fa0af..bbd60c5 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/FilteredResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/FilteredResourceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Serge Beauchamp (Freescale Semiconductor) - initial API and implementation
*******************************************************************************/
@@ -25,8 +25,8 @@
* {@link IContainer#addFilter(String, int, String, int, IProgressMonitor)}
* {@link IContainer#removeFilter(String, int, String, int, IProgressMonitor)}
* {@link IContainer#getFilters()}
- *
- * This test tests resource filters with projects, folders, linked resource folders,
+ *
+ * This test tests resource filters with projects, folders, linked resource folders,
* and moving those resources to different parents.
*/
public class FilteredResourceTest extends ResourceTest {
@@ -608,7 +608,7 @@
// Check that foo.h has appeared in 'folder'
try {
// // Refreshing restores sanity (hides the .cpp files)...
- // folder.refreshLocal(IResource.DEPTH_INFINITE, getMonitor());
+ // folder.refreshLocal(IResource.DEPTH_INFINITE, getMonitor());
members = folder.members();
} catch (CoreException e) {
fail("4.2", e);
@@ -652,9 +652,9 @@
}
/**
- * Tests that filtering a child directory which is linked from
+ * Tests that filtering a child directory which is linked from
* else where works
- *
+ *
* Main tree:
* existingProject/existingFolderInExsitingProject/existingFolderInExistingFolder
* Links:
@@ -677,7 +677,7 @@
IResourceFilterDescription filterDescription1 = null;
try {
- // Filter out all children from existingFolderInExistingProject
+ // Filter out all children from existingFolderInExistingProject
filterDescription1 = folder1.createFilter(IResourceFilterDescription.EXCLUDE_ALL | IResourceFilterDescription.FOLDERS, matcherDescription1, 0, getMonitor());
} catch (CoreException e) {
fail("0.5", e);
@@ -704,7 +704,7 @@
fail("12.20", e);
}
- // Need to unset M_USED on the project's resource info, or
+ // Need to unset M_USED on the project's resource info, or
// reconcileLinks will never be called...
Workspace workspace = ((Workspace) ResourcesPlugin.getWorkspace());
try {
@@ -750,7 +750,7 @@
folder2.createLink(parentLoc, IResource.REPLACE, getMonitor());
folder1.createLink(childLoc, IResource.REPLACE | IResource.FORCE, getMonitor());
- // Filter out all children from existingFolderInExistingProject
+ // Filter out all children from existingFolderInExistingProject
folder2.createFilter(IResourceFilterDescription.EXCLUDE_ALL | IResourceFilterDescription.FOLDERS, matcherDescription1, 0, getMonitor());
filterDescription1.delete(0, getMonitor());
assertTrue(folder1.getFilters().length == 0);
@@ -758,7 +758,7 @@
fail("3.0", e);
}
- // Need to unset M_USED on the project's resource info, or
+ // Need to unset M_USED on the project's resource info, or
// reconcileLinks will never be called...
try {
try {
@@ -797,9 +797,9 @@
}
/**
- * Tests that filtering a child directory which is linked from
+ * Tests that filtering a child directory which is linked from
* else where works
- *
+ *
* Main tree:
* existingProject/existingFolderInExsitingProject/existingFolderInExistingFolder
* Links:
@@ -822,7 +822,7 @@
IResourceFilterDescription filterDescription1 = null;
try {
- // Filter out all children from existingFolderInExistingProject
+ // Filter out all children from existingFolderInExistingProject
filterDescription1 = folder1.createFilter(IResourceFilterDescription.EXCLUDE_ALL | IResourceFilterDescription.FOLDERS, matcherDescription1, 0, getMonitor());
} catch (CoreException e) {
fail("0.5", e);
@@ -849,7 +849,7 @@
fail("12.20", e);
}
- // Need to unset M_USED on the project's resource info, or
+ // Need to unset M_USED on the project's resource info, or
// reconcileLinks will never be called...
Workspace workspace = ((Workspace) ResourcesPlugin.getWorkspace());
try {
@@ -891,7 +891,7 @@
folder2.createLink(parentLoc, IResource.REPLACE | IResource.NONE, getMonitor());
folder1.createLink(childLoc, IResource.REPLACE | IResource.FORCE, getMonitor());
- // Filter out all children from existingFolderInExistingProject
+ // Filter out all children from existingFolderInExistingProject
folder2.createFilter(IResourceFilterDescription.EXCLUDE_ALL | IResourceFilterDescription.FOLDERS, matcherDescription1, 0, getMonitor());
filterDescription1.delete(0, getMonitor());
assertTrue(folder1.getFilters().length == 0);
@@ -1695,8 +1695,8 @@
}
/**
- * Regression for Bug 317783 - Resource filters do not work at all in "Project Explorer"
- * The problem is that a client calls explicitly refreshLocal on a folder that is filtered out by
+ * Regression for Bug 317783 - Resource filters do not work at all in "Project Explorer"
+ * The problem is that a client calls explicitly refreshLocal on a folder that is filtered out by
* resource filters and that doesn't exist in the workspace. This used to cause the resource to
* appear in the workspace, along with all its children, in spite of active resource filters to the
* contrary.
@@ -1758,8 +1758,8 @@
}
/**
- * Regression for Bug 317824 - Renaming a project that contains resource filters fails,
- * and copying a project that contains resource filters removes the resource filters.
+ * Regression for Bug 317824 - Renaming a project that contains resource filters fails,
+ * and copying a project that contains resource filters removes the resource filters.
*/
public void test317824() {
IFolder folder = existingProject.getFolder("foo");
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/HiddenResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/HiddenResourceTest.java
index f501673..d67a993 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/HiddenResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/HiddenResourceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -744,8 +744,8 @@
/**
* Tests whether {@link IFile#create(java.io.InputStream, int, IProgressMonitor)},
- * {@link IFolder#create(int, boolean, IProgressMonitor)}
- * and {@link IProject#create(IProjectDescription, int, IProgressMonitor)
+ * {@link IFolder#create(int, boolean, IProgressMonitor)}
+ * and {@link IProject#create(IProjectDescription, int, IProgressMonitor)
* handles {@link IResource#HIDDEN} flag properly.
*/
public void testCreateHiddenResources() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFileTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFileTest.java
index 20d0e6b..769e5be 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFileTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFileTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -294,7 +294,7 @@
// If force=true, IFile is non-local, file exists in local file system:
// make IFile local, append contents (the thinking being that this file,
- // though marked non-local, was in fact local awaiting discovery; so
+ // though marked non-local, was in fact local awaiting discovery; so
// force=true says we it is ok to make file local and proceed as per normal)
try {
// setup
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFolderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFolderTest.java
index 31c05b0..2a9b213 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFolderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IFolderTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IPathVariableTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IPathVariableTest.java
index 8dc8a63..b306d19 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IPathVariableTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IPathVariableTest.java
@@ -151,14 +151,14 @@
}
/**
- * Default constructor for this class.
+ * Default constructor for this class.
*/
public IPathVariableTest() {
super();
}
/**
- * Constructor for the class.
+ * Constructor for the class.
*/
public IPathVariableTest(String name) {
super(name);
@@ -166,7 +166,7 @@
/**
* Return the tests to run.
- *
+ *
* @see org.eclipse.core.tests.harness.ResourceTest#suite()
*/
public static Test suite() {
@@ -211,7 +211,7 @@
assertTrue("3.2", list.contains("two"));
assertTrue("3.3", !list.contains("one"));
- // remove the last one
+ // remove the last one
try {
manager.setValue("two", (IPath) null);
} catch (CoreException e) {
@@ -234,7 +234,7 @@
pathTwo = new Path(pathTwo.toFile().getAbsolutePath());
IPath pathOneEdit = WINDOWS ? new Path("D:/foobar") : new Path("/foobar");
- // nothing to begin with
+ // nothing to begin with
assertNull("0.0", manager.getValue("one"));
// add a value to the table
@@ -275,7 +275,7 @@
}
assertNull("4.1", manager.getValue("one"));
- // set values with bogus names
+ // set values with bogus names
try {
manager.setValue("ECLIPSE$HOME", Path.ROOT);
fail("5.0 Accepted invalid variable name in setValue()");
@@ -432,7 +432,7 @@
pathTwo = new Path(pathTwo.toFile().getAbsolutePath());
try {
- // for WINDOWS - the device id for windows will be changed to upper case
+ // for WINDOWS - the device id for windows will be changed to upper case
// in the variable stored in the manager
manager.setValue("one", pathOne);
} catch (CoreException e) {
@@ -621,7 +621,7 @@
*/
public void testValidateName() {
- // valid names
+ // valid names
assertTrue("0.0", manager.validateName("ECLIPSEHOME").isOK());
assertTrue("0.1", manager.validateName("ECLIPSE_HOME").isOK());
assertTrue("0.2", manager.validateName("ECLIPSE_HOME_1").isOK());
@@ -794,7 +794,7 @@
/**
* Regression test for Bug 328045 where a class cast exception is thrown when
- * attempting to get the location of a resource that would live under an
+ * attempting to get the location of a resource that would live under an
* existing IFile.
*/
public void testDiscoverLocationOfInvalidFile() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectDescriptionTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectDescriptionTest.java
index 6d066b5..8e2332d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectDescriptionTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectDescriptionTest.java
@@ -61,7 +61,7 @@
project.build(IncrementalProjectBuilder.FULL_BUILD, null);
- // Get a non-cloned version of the project desc build spec, and check for the builder
+ // Get a non-cloned version of the project desc build spec, and check for the builder
assertTrue("2.0", ((BuildCommand) project.internalGetDescription().getBuildSpec(false)[0]).getBuilders() != null);
// Now reset the build command. The builder shouldn't disappear.
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectTest.java
index 723a7e0..22a84db 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IProjectTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -2465,7 +2465,7 @@
// aren't the same
assertTrue("2.0", !oldPath.equals(newPath));
- // make sure all the resources still exist.
+ // make sure all the resources still exist.
IResourceVisitor visitor = resource -> {
assertExistsInWorkspace("2.1." + resource.getFullPath(), resource);
return true;
@@ -2632,7 +2632,7 @@
}
public void testProjectMoveVariations_bug307140() {
- // Test moving project to its subfolder
+ // Test moving project to its subfolder
IProject project = getWorkspace().getRoot().getProject(getUniqueString());
IProjectDescription description;
try {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeEventTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeEventTest.java
index bb1709a..98db8d8 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeEventTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeEventTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -131,7 +131,7 @@
};
getWorkspace().addResourceChangeListener(listener);
- //do the work
+ //do the work
IWorkspaceRunnable body = monitor -> {
marker1 = file1.createMarker(IMarker.BOOKMARK);
marker2.delete();
@@ -189,7 +189,7 @@
};
getWorkspace().addResourceChangeListener(listener);
- //do the work
+ //do the work
try {
file1.setContents(getRandomContents(), true, true, getMonitor());
} catch (CoreException e) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeListenerTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeListenerTest.java
index 3cf47d2..14797bd 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeListenerTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceChangeListenerTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - Initial API and implementation
* tammo.freese@offis.de - tests for swapping files and folders
@@ -135,7 +135,7 @@
/**
* Tests that the builder is receiving an appropriate delta
- *
+ *
* @see SortBuilderPlugin
* @see SortBuilder
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceDeltaTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceDeltaTest.java
index baaa9d4..57574d1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceDeltaTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceDeltaTest.java
@@ -124,7 +124,7 @@
};
getWorkspace().addResourceChangeListener(listener);
- //do the work
+ //do the work
IWorkspaceRunnable body = monitor -> {
file1.setContents(getRandomContents(), true, true, getMonitor());
folder2.delete(true, getMonitor());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceTest.java
index 836be47..04c291e 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IResourceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -76,7 +76,7 @@
/**
* @return Set
- * @param dir
+ * @param dir
*/
static protected Set<File> getAllFilesForDirectory(File dir) {
Set<File> result = new HashSet<>(50);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ISynchronizerTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ISynchronizerTest.java
index 701f38d..ef50aef 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ISynchronizerTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ISynchronizerTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -604,7 +604,7 @@
final Hashtable table = new Hashtable(10);
final QualifiedName qname = new QualifiedName("org.eclipse.core.tests.resources", "myTarget");
final Synchronizer synchronizer = (Synchronizer) ResourcesPlugin.getWorkspace().getSynchronizer();
-
+
// register the sync partner and set the sync info on the resources
synchronizer.add(qname);
IResourceVisitor visitor = new IResourceVisitor() {
@@ -626,7 +626,7 @@
} catch (CoreException e) {
fail("0.1", e);
}
-
+
// write out the data
File file = Platform.getLocation().append(".testsyncinfo.snap").toFile();
SafeChunkyOutputStream safeOutput = null;
@@ -667,14 +667,14 @@
fail("1.4", e);
}
}
-
+
// flush the sync info in memory
try {
flushAllSyncInfo(getWorkspace().getRoot());
} catch (CoreException e) {
fail("2.0", e);
}
-
+
// read in the data
try {
InputStream safeInput = new SafeChunkyInputStream(file);
@@ -705,7 +705,7 @@
} catch (CoreException e) {
fail("3.4", e);
}
-
+
// confirm the sync bytes are the same
visitor = new IResourceVisitor() {
public boolean visit(IResource resource) throws CoreException {
@@ -904,7 +904,7 @@
final IWorkspace workspace = getWorkspace();
final ISynchronizer synchronizer = workspace.getSynchronizer();
- // set up
+ // set up
synchronizer.add(partner);
IProject project = workspace.getRoot().getProject("MyProject");
IFolder folder = project.getFolder("foo");
@@ -912,7 +912,7 @@
IFile file2 = folder.getFile("file2.txt");
ensureExistsInWorkspace(new IResource[] {file1, file2}, true);
- // sets sync info for the folder and its children
+ // sets sync info for the folder and its children
try {
synchronizer.setSyncInfo(partner, folder, getRandomString().getBytes());
synchronizer.setSyncInfo(partner, file1, getRandomString().getBytes());
@@ -921,7 +921,7 @@
fail("1.0", ce);
}
- // 1) tests with one child first
+ // 1) tests with one child first
assertTrue("1.1", file1.exists());
assertTrue("1.2", !file1.isPhantom());
// deletes file
@@ -930,7 +930,7 @@
} catch (CoreException ce) {
fail("2.0", ce);
}
- // file is now a phantom resource
+ // file is now a phantom resource
assertTrue("2.1", !file1.exists());
assertTrue("2.2", file1.isPhantom());
// removes sync info
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceRootTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceRootTest.java
index fd27998..e5b0079 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceRootTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceRootTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceTest.java
index 749285a..199f1dd 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/IWorkspaceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -177,7 +177,7 @@
// should fail
}
- //source files contains duplicates
+ //source files contains duplicates
try {
getWorkspace().copy(new IResource[] {file, file2, file}, folder2.getFullPath(), false, getMonitor());
fail("1.9");
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceSyncMoveAndCopyTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceSyncMoveAndCopyTest.java
index 0d931bb..eebd2c4 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceSyncMoveAndCopyTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceSyncMoveAndCopyTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceTest.java
index 9461c38..58d60eb 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sergey Prigogin (Google) - [338010] Resource.createLink() does not preserve symbolic links
@@ -29,16 +29,16 @@
/**
* Tests the following API methods:
- * IFile#createLink
+ * IFile#createLink
* IFolder#createLink
- *
+ *
* This test supports both variable-based and non-variable-based locations.
* Although the method used for creating random locations
* <code>ResourceTest#getRandomLocation()</code> never returns variable-
* based paths, this method is overwritten in the derived class
* <code>LinkedResourceWithPathVariable</code> to always return variable-based
* paths.
- *
+ *
* To support variable-based paths wherever a file system location is used, it
* is mandatory first to resolve it and only then using it, except in calls to
* <code>IFile#createLink</code> and <code>IFolder#createLink</code> and when
@@ -757,7 +757,7 @@
}
/**
- * Tests whether {@link IFile#createLink} and {@link IFolder#createLink}
+ * Tests whether {@link IFile#createLink} and {@link IFolder#createLink}
* handle {@link IResource#HIDDEN} flag properly.
*/
public void testCreateHiddenLinkedResources() {
@@ -1064,7 +1064,7 @@
}
/**
- * Tests swapping the link location.
+ * Tests swapping the link location.
* This is a regression test for bug 268507
*/
public void testSetLinkLocationSwapLinkedResource() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceWithPathVariableTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceWithPathVariableTest.java
index bcfb0af..96fe117 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceWithPathVariableTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/LinkedResourceWithPathVariableTest.java
@@ -808,7 +808,7 @@
* Platform.
* The .project file must not be modified on import, especially if it
* is marked read-only.
- * See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210664">Bug 210664</a>.
+ * See <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=210664">Bug 210664</a>.
*/
public void testImportWrongLineEndings_Bug210664() throws IOException {
// Choose a project to work on
@@ -1090,7 +1090,7 @@
IFile file = nonExistingFileInExistingProject;
- // creates a variable-based location
+ // creates a variable-based location
IPath variableBasedLocation = getRandomLocation();
// the file should not exist yet
@@ -1120,7 +1120,7 @@
fail("2.2", e);
}
- // try to change resource's contents
+ // try to change resource's contents
try {
file.setContents(getContents("new contents"), IResource.NONE, getMonitor());
// Resource was out of sync - should not be able to change
@@ -1304,7 +1304,7 @@
// assertEquals("4.2", null, variable.getVariableHints());
// }
- /**
+ /**
* Test Bug 288880 - Redundant path variables generated when converting some linked resources to path variable-relative
*/
public void testNonRedundentPathVariablesGenerated() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/MarkerTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/MarkerTest.java
index 5e3bcd2..9c451c2 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/MarkerTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/MarkerTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* James Blackburn (Broadcom Corp.) - ongoing development
@@ -84,7 +84,7 @@
fail("1.99", e);
}
- // COPY the resource and look at the deltas -
+ // COPY the resource and look at the deltas -
// there should be no changes since markers are not copied
try {
resource = getWorkspace().getRoot().findMember("2");
@@ -534,7 +534,7 @@
fail("2.7." + resource.getFullPath(), e);
}
- // Check that a non-existant marker can be removed
+ // Check that a non-existant marker can be removed
try {
marker.delete();
} catch (CoreException e) {
@@ -711,7 +711,7 @@
}
/*
- * Bug 289811 - ArrayIndexOutOfBoundsException in MarkerAttributeMap
+ * Bug 289811 - ArrayIndexOutOfBoundsException in MarkerAttributeMap
*/
public void test_289811() {
debug("test_289811");
@@ -962,7 +962,7 @@
/**
* Tests the appearance of marker changes in the resource delta.
- * Particularly, checks that the MarkerDelta attributes reflect the
+ * Particularly, checks that the MarkerDelta attributes reflect the
* state of the marker before the change occurred.
*/
public void testMarkerDeltaAttributes() {
@@ -1051,7 +1051,7 @@
getWorkspace().addResourceChangeListener(listener);
try {
- // create markers on all the non-project resources
+ // create markers on all the non-project resources
final Hashtable<IResource, IMarker> table = new Hashtable<>(1);
final int[] count = new int[1];
count[0] = 0;
@@ -1705,7 +1705,7 @@
}
/*
- * Test for PR: "1FWT3V5: ITPCORE:WINNT - Task view shows entries for closed projects"
+ * Test for PR: "1FWT3V5: ITPCORE:WINNT - Task view shows entries for closed projects"
*/
public void testProjectCloseOpen() {
debug("testProjectCloseOpen");
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NatureTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NatureTest.java
index cd11108..c7f12b6 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NatureTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NatureTest.java
@@ -95,7 +95,7 @@
ensureExistsInWorkspace(project, true);
setNatures("1.0", project, new String[] {NATURE_SIMPLE}, false);
- //Adding a nature that is not available.
+ //Adding a nature that is not available.
setNatures("2.0", project, new String[] {NATURE_SIMPLE, NATURE_MISSING}, true);
try {
assertTrue("2.1", project.hasNature(NATURE_SIMPLE));
@@ -105,7 +105,7 @@
} catch (CoreException e) {
fail("2.99", e);
}
- //Adding a nature that has a missing prerequisite.
+ //Adding a nature that has a missing prerequisite.
setNatures("3.0", project, new String[] {NATURE_SIMPLE, NATURE_SNOW}, true);
try {
assertTrue("3.1", project.hasNature(NATURE_SIMPLE));
@@ -115,7 +115,7 @@
} catch (CoreException e) {
fail("3.99", e);
}
- //Adding a nature that creates a duplicated set member.
+ //Adding a nature that creates a duplicated set member.
setNatures("4.0", project, new String[] {NATURE_EARTH}, false);
setNatures("4.1", project, new String[] {NATURE_EARTH, NATURE_WATER}, true);
try {
@@ -208,7 +208,7 @@
String[] currentSet = new String[] {NATURE_SIMPLE};
setNatures("1.0", project, currentSet, false);
- //now do invalid tests and ensure simple nature is still configured
+ //now do invalid tests and ensure simple nature is still configured
String[][] invalid = getInvalidNatureSets();
for (int i = 0; i < invalid.length; i++) {
setNatures("invalid: " + i, project, invalid[i], true);
@@ -303,7 +303,7 @@
try {
// Make sure enough time has past to bump file's
- // timestamp during the copy
+ // timestamp during the copy
Thread.sleep(1000);
} catch (InterruptedException e) {
fail("5.0", e);
@@ -350,7 +350,7 @@
/**
* Changes project description and parallel checks {@link IProject#isNatureEnabled(String)},
* to check if natures value is cached properly.
- *
+ *
* See Bug 338055.
* @throws Exception
*/
@@ -378,7 +378,7 @@
try {
// Make sure enough time has past to bump file's
- // timestamp during the copy
+ // timestamp during the copy
Thread.sleep(1000);
} catch (InterruptedException e) {
fail("2.0", e);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NonLocalLinkedResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NonLocalLinkedResourceTest.java
index e40c1d7..46ca1a8 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NonLocalLinkedResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/NonLocalLinkedResourceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -120,7 +120,7 @@
fail("3.0", e);
}
- //copy to self should fail
+ //copy to self should fail
try {
localFile.copy(localFile.getFullPath(), IResource.NONE, getMonitor());
fail("4.0");
@@ -170,7 +170,7 @@
//should fail
}
- //copy to self should fail
+ //copy to self should fail
try {
source.copy(source.getFullPath(), IResource.NONE, getMonitor());
fail("4.0");
@@ -226,7 +226,7 @@
fail("3.0", e);
}
- //copy to self should fail
+ //copy to self should fail
try {
localFile.copy(localFile.getFullPath(), IResource.NONE, getMonitor());
fail("4.0");
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/OldCorePerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/OldCorePerformanceTest.java
index 3c6bb56..35e5919 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/OldCorePerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/OldCorePerformanceTest.java
@@ -26,7 +26,7 @@
* a more heavy-weight mechanism that allows logging, multiple
* timers, and overlapping timers.
*
- * For benchmarking operations that should be instantaneous, use the
+ * For benchmarking operations that should be instantaneous, use the
* startBench(), stopBench() methods. Here is an example:
*
* <code>
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectOrderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectOrderTest.java
index ff8b3b8..9c7fcf1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectOrderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectOrderTest.java
@@ -42,7 +42,7 @@
* be accessible, to the given target project, which need not be accessible.
* Does nothing if the source project already has a project reference
* to the target project.
- *
+ *
* @param source the source project; must be accessible
* @param target the target project; need not be accessible
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectScopeTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectScopeTest.java
index abf5282..2ad6941 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectScopeTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectScopeTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotPerfManualTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotPerfManualTest.java
index 930c113..1cc1912 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotPerfManualTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotPerfManualTest.java
@@ -22,10 +22,10 @@
/**
* Measure speed of a project "Import with Snapshot" operation compared
* to a normal "Project Import" operation, as per bug 301563.
- *
- * This test is meant to be run manually, and not integrated into the
+ *
+ * This test is meant to be run manually, and not integrated into the
* automated test suite. Requires large project data (thousands of folders)
- * to be available on a slow file system (bigSiteLocation). Modify
+ * to be available on a slow file system (bigSiteLocation). Modify
* bigSiteLocation to suit your needs, then run-as > JUnit Plug-in Test.
*/
public class ProjectSnapshotPerfManualTest extends ResourceTest {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotTest.java
index e9e57fe..3160159 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ProjectSnapshotTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Francis Lynch (Wind River) - adapted from FileSystemResourceManagerTest
@@ -302,7 +302,7 @@
* Create project and populate with resources. Specify
* snapshot location in project description.
* Import the project from a different location, with different name.
- * All resources must be marked as "exists" in the resource tree for
+ * All resources must be marked as "exists" in the resource tree for
* the new, renamed project.
*/
public void testAutoLoadWithRename() throws Throwable {
@@ -364,7 +364,7 @@
project.setDescription(desc, null);
assertEquals("1.0", stamp, projectFile.getModificationStamp());
- // set or reset a snapshot -> .project file changed, unless setting to same existing URI
+ // set or reset a snapshot -> .project file changed, unless setting to same existing URI
project.saveSnapshot(Project.SNAPSHOT_SET_AUTOLOAD, tempURI, null);
assertEquals("2.0", tempURI, ((ProjectDescription) project.getDescription()).getSnapshotLocationURI());
long stamp2 = projectFile.getModificationStamp();
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceAttributeTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceAttributeTest.java
index 4a30a74..7bb30f8 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceAttributeTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceAttributeTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Martin Oberhuber (Wind River) - [335864] ResourceAttributeTest fails on Win7
@@ -21,7 +21,7 @@
import org.eclipse.core.runtime.CoreException;
/**
- *
+ *
*/
public class ResourceAttributeTest extends ResourceTest {
@@ -143,7 +143,7 @@
ensureExistsInWorkspace(file, getRandomContents());
try {
- // file
+ // file
assertTrue("1.0", !file.getResourceAttributes().isHidden());
setHidden(file, true);
assertTrue("1.2", file.getResourceAttributes().isHidden());
@@ -237,8 +237,8 @@
* workspace because the folder contents can no longer be listed.
* A refresh should happen automatically when the executable
* bit on a folder is changed. See bug 109979 for details.
- *
- * Test commented out because current failing on Hudson.
+ *
+ * Test commented out because current failing on Hudson.
* See https://bugs.eclipse.org/bugs/show_bug.cgi?id=397353
*/
public void _testRefreshExecutableOnFolder() {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceDeltaVerifier.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceDeltaVerifier.java
index 3125db4..e840867 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceDeltaVerifier.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceDeltaVerifier.java
@@ -19,7 +19,7 @@
/**
* Verifies the state of an <code>IResourceDelta</code> by comparing
* it with a client's expectations. The delta is considered valid
- * if it contains exactly the set of changes expected by the client,
+ * if it contains exactly the set of changes expected by the client,
* and parents of those changes.
*
* <p>Example usage:
@@ -106,7 +106,7 @@
* verifications. When a getMessage() or isDeltaValid() method is
* called, the verification completes, and the state becomes
* VERIFICATION_COMPLETE. While in this state, any number of
- * getMessage() and isDeltaValid() methods can be called.
+ * getMessage() and isDeltaValid() methods can be called.
* While in the third state, any call to addExpectedChange()
* resets the verifier and puts it back in its RECEIVING_INPUTS state.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceTest.java
index 71b1787..f704990 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceTest.java
@@ -60,9 +60,9 @@
protected static final String NATURE_SNOW = "org.eclipse.core.tests.resources.snowNature";
//waterNature, one-of: stateSet
protected static final String NATURE_WATER = "org.eclipse.core.tests.resources.waterNature";
- public static final String PI_RESOURCES_TESTS = "org.eclipse.core.tests.resources"; //$NON-NLS-1$
+ public static final String PI_RESOURCES_TESTS = "org.eclipse.core.tests.resources"; //$NON-NLS-1$
protected static final String SET_OTHER = "org.eclipse.core.tests.resources.otherSet";
- //constants for nature sets
+ //constants for nature sets
protected static final String SET_STATE = "org.eclipse.core.tests.resources.stateSet";
/**
@@ -98,7 +98,7 @@
/**
* Returns whether the current platform is windows.
- * @return <code>true</code> if this platform is windows, and
+ * @return <code>true</code> if this platform is windows, and
* <code>false</code> otherwise.
*/
protected static boolean isWindows() {
@@ -169,7 +169,7 @@
}
/**
- * Assert that each element of the resource array does not exist in the
+ * Assert that each element of the resource array does not exist in the
* local store.
*/
public void assertDoesNotExistInFileSystem(IResource[] resources) {
@@ -187,7 +187,7 @@
}
/**
- * Assert that each element of the resource array does not exist in the
+ * Assert that each element of the resource array does not exist in the
* local store.
*/
public void assertDoesNotExistInFileSystem(String message, IResource[] resources) {
@@ -196,7 +196,7 @@
}
/**
- * Assert that the given resource does not exist in the workspace
+ * Assert that the given resource does not exist in the workspace
* resource info tree.
*/
public void assertDoesNotExistInWorkspace(IResource resource) {
@@ -204,7 +204,7 @@
}
/**
- * Assert that each element of the resource array does not exist
+ * Assert that each element of the resource array does not exist
* in the workspace resource info tree.
*/
public void assertDoesNotExistInWorkspace(IResource[] resources) {
@@ -212,7 +212,7 @@
}
/**
- * Assert that the given resource does not exist in the workspace
+ * Assert that the given resource does not exist in the workspace
* resource info tree.
*/
public void assertDoesNotExistInWorkspace(String message, IResource resource) {
@@ -223,7 +223,7 @@
}
/**
- * Assert that each element of the resource array does not exist
+ * Assert that each element of the resource array does not exist
* in the workspace resource info tree.
*/
public void assertDoesNotExistInWorkspace(String message, IResource[] resources) {
@@ -233,8 +233,8 @@
}
/**
- * Assert whether or not the given resource exists in the local
- * store. Use the resource manager to ensure that we have a
+ * Assert whether or not the given resource exists in the local
+ * store. Use the resource manager to ensure that we have a
* correct Path -> File mapping.
*/
public void assertExistsInFileSystem(IResource resource) {
@@ -249,8 +249,8 @@
}
/**
- * Assert whether or not the given resource exists in the local
- * store. Use the resource manager to ensure that we have a
+ * Assert whether or not the given resource exists in the local
+ * store. Use the resource manager to ensure that we have a
* correct Path -> File mapping.
*/
public void assertExistsInFileSystem(String message, IResource resource) {
@@ -269,7 +269,7 @@
}
/**
- * Assert whether or not the given resource exists in the workspace
+ * Assert whether or not the given resource exists in the workspace
* resource info tree.
*/
public void assertExistsInWorkspace(IResource resource) {
@@ -277,7 +277,7 @@
}
/**
- * Assert whether or not the given resource exists in the workspace
+ * Assert whether or not the given resource exists in the workspace
* resource info tree.
*/
public void assertExistsInWorkspace(IResource resource, boolean phantom) {
@@ -285,7 +285,7 @@
}
/**
- * Assert that each element of the resource array exists in the
+ * Assert that each element of the resource array exists in the
* workspace resource info tree.
*/
public void assertExistsInWorkspace(IResource[] resources) {
@@ -293,7 +293,7 @@
}
/**
- * Assert that each element of the resource array exists in the
+ * Assert that each element of the resource array exists in the
* workspace resource info tree.
*/
public void assertExistsInWorkspace(IResource[] resources, boolean phantom) {
@@ -301,7 +301,7 @@
}
/**
- * Assert whether or not the given resource exists in the workspace
+ * Assert whether or not the given resource exists in the workspace
* resource info tree.
*/
public void assertExistsInWorkspace(String message, IResource resource) {
@@ -309,7 +309,7 @@
}
/**
- * Assert whether or not the given resource exists in the workspace
+ * Assert whether or not the given resource exists in the workspace
* resource info tree.
*/
public void assertExistsInWorkspace(String message, IResource resource, boolean phantom) {
@@ -320,7 +320,7 @@
}
/**
- * Assert that each element of the resource array exists in the
+ * Assert that each element of the resource array exists in the
* workspace resource info tree.
*/
public void assertExistsInWorkspace(String message, IResource[] resources) {
@@ -329,7 +329,7 @@
}
/**
- * Assert that each element of the resource array exists in the
+ * Assert that each element of the resource array exists in the
* workspace resource info tree.
*/
public void assertExistsInWorkspace(String message, IResource[] resources, boolean phantom) {
@@ -345,7 +345,7 @@
}
/**
- * Return a collection of resources for the given hierarchy at
+ * Return a collection of resources for the given hierarchy at
* the given root.
*/
public IResource[] buildResources(IContainer root, String[] hierarchy) {
@@ -449,14 +449,14 @@
}
/**
- * Create the given file in the local store.
+ * Create the given file in the local store.
*/
public void createFileInFileSystem(IFileStore file) {
createFileInFileSystem(file, getRandomContents());
}
/**
- * Create the given file in the local store.
+ * Create the given file in the local store.
*/
public void createFileInFileSystem(IFileStore file, InputStream contents) {
OutputStream output = null;
@@ -472,14 +472,14 @@
}
/**
- * Create the given file in the file system.
+ * Create the given file in the file system.
*/
public void createFileInFileSystem(IPath path) {
createFileInFileSystem(path, getRandomContents());
}
/**
- * Create the given file in the file system.
+ * Create the given file in the file system.
*/
public void createFileInFileSystem(IPath path, InputStream contents) {
try {
@@ -496,12 +496,12 @@
}
/**
- * Returns a collection of string paths describing the standard
+ * Returns a collection of string paths describing the standard
* resource hierarchy for this test. In the string forms, folders are
* represented as having trailing separators ('/'). All other resources
- * are files. It is generally assumed that this hierarchy will be
+ * are files. It is generally assumed that this hierarchy will be
* inserted under some project structure.
- * For example,
+ * For example,
* <pre>
* return new String[] {"/", "/1/", "/1/1", "/1/2", "/1/3", "/2/", "/2/1"};
* </pre>
@@ -541,7 +541,7 @@
}
/**
- * Delete each element of the resource array from the workspace
+ * Delete each element of the resource array from the workspace
* resource info tree.
*/
public void ensureDoesNotExistInWorkspace(final IResource[] resources) {
@@ -629,7 +629,7 @@
}
/**
- * Create each element of the resource array in the workspace resource
+ * Create each element of the resource array in the workspace resource
* info tree.
*/
public void ensureExistsInWorkspace(final IResource[] resources, final boolean local) {
@@ -655,8 +655,8 @@
}
/**
- * Touch (but don't modify) the resource in the filesystem so that it's modification stamp is newer than
- * the cached value in the Workspace.
+ * Touch (but don't modify) the resource in the filesystem so that it's modification stamp is newer than
+ * the cached value in the Workspace.
*/
public void touchInFilesystem(IResource resource) {
// Ensure the resource exists in the filesystem
@@ -699,7 +699,7 @@
return target != null && target.getType() == resource.getType();
}
- /**
+ /**
* Returns the unqualified class name of the receiver (i.e. without the package prefix).
*/
protected String getClassName() {
@@ -964,7 +964,7 @@
protected void tearDown() throws Exception {
super.tearDown();
// Ensure everything is in a clean state for next one.
- // Session tests should overwrite it.
+ // Session tests should overwrite it.
cleanup();
}
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceURLTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceURLTest.java
index c535bcd..eba1e43 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceURLTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/ResourceURLTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -61,10 +61,10 @@
}
/**
- * Returns a collection of string paths describing the standard
+ * Returns a collection of string paths describing the standard
* resource hierarchy for this test. In the string forms, folders are
* represented as having trailing separators ('/'). All other resources
- * are files. It is generally assumed that this hierarchy will be
+ * are files. It is generally assumed that this hierarchy will be
* inserted under some solution and project structure.
*/
@Override
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TeamPrivateMemberTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TeamPrivateMemberTest.java
index 022f97f..9d23df3 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TeamPrivateMemberTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TeamPrivateMemberTest.java
@@ -581,7 +581,7 @@
assertDoesNotExistInWorkspace("2.5", new IResource[] {folder, subFile});
assertExistsInWorkspace("2.6", new IResource[] {project, file});
- // set all resources to be team private
+ // set all resources to be team private
ensureExistsInWorkspace(resources, true);
setTeamPrivateMember("3.0", project, true, IResource.DEPTH_INFINITE);
// delete the project
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TestPerformer.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TestPerformer.java
index ea15d33..3fd0f65 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TestPerformer.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/TestPerformer.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/VirtualFolderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/VirtualFolderTest.java
index bb888f7..142c08a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/VirtualFolderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/VirtualFolderTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Serge Beauchamp (Freescale Semiconductor) - initial API and implementation
* James Blackburn - Test fix for bug 266712
@@ -415,7 +415,7 @@
}
// We should decide what is the proper value returned for Virtual Folders
- //
+ //
// public void testIsLocal() {
// // create a virtual folder
// IFolder virtualFolder = existingProject.getFolder(getUniqueString());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceSessionTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceSessionTest.java
index 68d2bbb..db7290a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceSessionTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceSessionTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,16 +19,16 @@
* - run the test method
* - run tearDown
* - shutdown the platform
- *
+ *
* Tests are run according to the natural order of their method names. This is the
* partial ordering defined by the String.compareTo() operation. Each test method
* must begin with the prefix "test", and have no parameters (thus overloading is
* not supported).
- *
+ *
* After all test methods in the class have been run, the platform location is deleted.
* This way, each test class plays like a series of related operations on the same
* workspace, with each operation running in a separate platform instance.
- *
+ *
* @see org.eclipse.core.tests.session.WorkspaceSessionTestSuite
*/
public class WorkspaceSessionTest extends ResourceTest {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceTest.java
index a912e03..e7881be 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/WorkspaceTest.java
@@ -54,10 +54,10 @@
}
/**
- * Returns a collection of string paths describing the standard
+ * Returns a collection of string paths describing the standard
* resource hierarchy for this test. In the string forms, folders are
* represented as having trailing separators ('/'). All other resources
- * are files. It is generally assumed that this hierarchy will be
+ * are files. It is generally assumed that this hierarchy will be
* inserted under some solution and project structure.
*/
@Override
@@ -97,7 +97,7 @@
suite.addTest(new WorkspaceTest("testProjectCreateOpenCloseDelete"));
suite.addTest(new WorkspaceTest("testProjectReferences"));
- // test closing and reopening
+ // test closing and reopening
suite.addTest(new WorkspaceTest("testProjectCloseOpen"));
// test persistent properties on all the different resource types.
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/ContentDescriptionTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/ContentDescriptionTest.java
index 605426b..16ec2db 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/ContentDescriptionTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/ContentDescriptionTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/IContentTypeManagerTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/IContentTypeManagerTest.java
index 6c016aa..a162f2c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/IContentTypeManagerTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/IContentTypeManagerTest.java
@@ -116,7 +116,7 @@
public InputStream getInputStream(byte[][] contents) {
int size = 0;
- // computes final array size
+ // computes final array size
for (int i = 0; i < contents.length; i++)
size += contents[i].length;
byte[] full = new byte[size];
@@ -148,7 +148,7 @@
@Override
protected void tearDown() throws Exception {
super.tearDown();
- // some tests here will trigger a charset delta job (any causing ContentTypeChangeEvents to be broadcast)
+ // some tests here will trigger a charset delta job (any causing ContentTypeChangeEvents to be broadcast)
// ensure none is left running after we finish
Job.getJobManager().join(FAMILY_CHARSET_DELTA, getMonitor());
}
@@ -174,7 +174,7 @@
assertEquals("1.5", alias, selected[0]);
assertEquals("1.6", derived, selected[1]);
- //test late addition of content type
+ //test late addition of content type
TestRegistryChangeListener listener = new TestRegistryChangeListener(Platform.PI_RUNTIME, ContentTypeBuilder.PT_CONTENTTYPES, null, null);
BundleTestingHelper.runWithBundles("2", () -> {
IContentType alias1 = contentTypeManager.getContentType(PI_RESOURCES_TESTS + ".alias");
@@ -339,12 +339,12 @@
description = text.getDescriptionFor(new ByteArrayInputStream((UTF8_BOM + MINIMAL_XML).getBytes("ISO-8859-1")), options);
assertNotNull("1.0", description.getProperty(IContentDescription.BYTE_ORDER_MARK));
assertEquals("1.1", IContentDescription.BOM_UTF_8, description.getProperty(IContentDescription.BYTE_ORDER_MARK));
- // tests with UTF-16 Little Endian BOM
+ // tests with UTF-16 Little Endian BOM
String UTF16_LE_BOM = new String(IContentDescription.BOM_UTF_16LE, "ISO-8859-1");
description = text.getDescriptionFor(new ByteArrayInputStream((UTF16_LE_BOM + MINIMAL_XML).getBytes("ISO-8859-1")), options);
assertNotNull("2.0", description.getProperty(IContentDescription.BYTE_ORDER_MARK));
assertEquals("2.1", IContentDescription.BOM_UTF_16LE, description.getProperty(IContentDescription.BYTE_ORDER_MARK));
- // tests with UTF-16 Big Endian BOM
+ // tests with UTF-16 Big Endian BOM
String UTF16_BE_BOM = new String(IContentDescription.BOM_UTF_16BE, "ISO-8859-1");
description = text.getDescriptionFor(new ByteArrayInputStream((UTF16_BE_BOM + MINIMAL_XML).getBytes("ISO-8859-1")), options);
assertNotNull("3.0", description.getProperty(IContentDescription.BYTE_ORDER_MARK));
@@ -400,9 +400,9 @@
// base matches *.mybinary files starting with 0x0a 0x0b
IContentType base = manager.getContentType(PI_RESOURCES_TESTS + ".binary_base");
- // derived1 matches *.mybinary and specifically foo.mybinary files starting with 0x0a 0x0b 0xc
+ // derived1 matches *.mybinary and specifically foo.mybinary files starting with 0x0a 0x0b 0xc
IContentType derived1 = manager.getContentType(PI_RESOURCES_TESTS + ".binary_derived1");
- // derived2 matches *.mybinary (inherits filespec from base) files starting with 0x0a 0x0b 0xd
+ // derived2 matches *.mybinary (inherits filespec from base) files starting with 0x0a 0x0b 0xd
IContentType derived2 = manager.getContentType(PI_RESOURCES_TESTS + ".binary_derived2");
IContentType[] selected;
@@ -413,13 +413,13 @@
assertEquals("1.1", base, selected[0]);
selected = manager.findContentTypesFor(getInputStream(contents0), "foo.mybinary");
- // we know also that the second one will be derived1, because it has a full name matching
+ // we know also that the second one will be derived1, because it has a full name matching
assertEquals("2.0", 3, selected.length);
assertEquals("2.1", base, selected[0]);
assertEquals("2.2", derived1, selected[1]);
selected = manager.findContentTypesFor(getInputStream(contents1), "foo.mybinary");
- // derived1 will be first because both base and derived1 have a strong content matching, so more specific wins
+ // derived1 will be first because both base and derived1 have a strong content matching, so more specific wins
assertEquals("3.0", 3, selected.length);
assertEquals("3.1", derived1, selected[0]);
assertEquals("3.2", base, selected[1]);
@@ -569,7 +569,7 @@
finder = contentTypeManager.getMatcher(new SubsetSelectionPolicy(new IContentType[] {inappropriate, appropriate}), null);
assertEquals("2.0", appropriate, finder.findContentTypeFor(getInputStream(MINIMAL_XML), null));
- // if inappropriate, appropriate and a more specific appropriate type are provided, the specific type will be selected
+ // if inappropriate, appropriate and a more specific appropriate type are provided, the specific type will be selected
finder = contentTypeManager.getMatcher(new SubsetSelectionPolicy(new IContentType[] {inappropriate, appropriate, appropriateSpecific1}), null);
assertEquals("3.0", appropriateSpecific1, finder.findContentTypeFor(getInputStream(MINIMAL_XML), null));
finder = contentTypeManager.getMatcher(new SubsetSelectionPolicy(new IContentType[] {inappropriate, appropriate, appropriateSpecific2}), null);
@@ -641,9 +641,9 @@
}
/**
- * The fooBar content type is associated with the "foo.bar" file name and
- * the "bar" file extension (what is bogus, anyway). This test ensures it
- * does not appear twice in the list of content types associated with the
+ * The fooBar content type is associated with the "foo.bar" file name and
+ * the "bar" file extension (what is bogus, anyway). This test ensures it
+ * does not appear twice in the list of content types associated with the
* "foo.bar" file name.
*/
public void testDoubleAssociation() {
@@ -665,7 +665,7 @@
* Obtains a reference to a known content type, then installs a bundle that contributes a content type,
* and makes sure a new obtained reference to the same content type is not identical (shows
* that the content type catalog has been discarded and rebuilt). Then uninstalls that bundle
- * and checks again the same thing (because the content type catalog should be rebuilt whenever
+ * and checks again the same thing (because the content type catalog should be rebuilt whenever
* content types are dynamicaly added/removed).
*/
public void testDynamicChanges() {
@@ -844,7 +844,7 @@
assertNotNull("3.0.2", conflict3sub);
assertNotNull("3.0.3", conflict3unrelated);
- // Two unrelated types (sub_conflict3 and unrelated conflict3) are in conflict.
+ // Two unrelated types (sub_conflict3 and unrelated conflict3) are in conflict.
// Order will be based on depth (more general first since they don't have describers)
IContentType[] selectedConflict3;
@@ -916,7 +916,7 @@
}
/**
- * Bugs 67841 and 62443
+ * Bugs 67841 and 62443
*/
public void testIOException() {
IContentTypeManager manager = Platform.getContentTypeManager();
@@ -949,7 +949,7 @@
@Override
public int available() {
- // trick the client into reading the file
+ // trick the client into reading the file
return Integer.MAX_VALUE;
}
@@ -1062,7 +1062,7 @@
}
public void testNoExtensionAssociation() {
- //TODO use a IContentTypeMatcher instead
+ //TODO use a IContentTypeMatcher instead
final IContentTypeManager manager = Platform.getContentTypeManager();
IContentType[] selected = manager.findContentTypesFor("file_with_no_extension");
@@ -1165,7 +1165,7 @@
}
/**
- * Regression test for bug 68894
+ * Regression test for bug 68894
*/
public void testPreferences() throws CoreException, BackingStoreException {
IContentTypeManager manager = Platform.getContentTypeManager();
@@ -1295,7 +1295,7 @@
assertTrue("1.0", contentTypes.length > 0);
assertEquals("1.1", rootElement, contentTypes[0]);
- // bugs 64053 and 63298
+ // bugs 64053 and 63298
contentTypes = contentTypeManager.findContentTypesFor(getInputStream(XML_ROOT_ELEMENT_EXTERNAL_ENTITY, "UTF-8"), "fake.xml");
assertTrue("2.0", contentTypes.length > 0);
assertEquals("2.1", rootElement, contentTypes[0]);
@@ -1366,7 +1366,7 @@
*/
public void testSignatureBeyondBufferLimit() throws IOException {
int bufferLimit = ContentTypeManager.BLOCK_SIZE * 4;
- // create a long XML comment as prefix
+ // create a long XML comment as prefix
StringBuffer comment = new StringBuffer("<!--");
for (int i = 0; i < bufferLimit; i++)
comment.append('*');
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/LocalSelectionPolicy.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/LocalSelectionPolicy.java
index 4d8bdfa..86e46fb 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/LocalSelectionPolicy.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/LocalSelectionPolicy.java
@@ -18,7 +18,7 @@
/**
* Selection policy that filters out any content types that do not
- * belong to the runtime plug-in or this test plug-in.
+ * belong to the runtime plug-in or this test plug-in.
*/
public class LocalSelectionPolicy implements ISelectionPolicy {
@Override
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/NaySayerContentDescriber.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/NaySayerContentDescriber.java
index 9d6c85b..1fa046c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/NaySayerContentDescriber.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/NaySayerContentDescriber.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/SpecificContextTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/SpecificContextTest.java
index 848c42d..dc0e22c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/SpecificContextTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/SpecificContextTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -24,7 +24,7 @@
*/
public class SpecificContextTest extends ContentTypeTest {
/**
- * A minimal scope implementation.
+ * A minimal scope implementation.
*/
private class SingleNodeScope implements IScopeContext {
private IEclipsePreferences node;
@@ -70,7 +70,7 @@
fail("0.1", e);
}
try {
- // added "<test case name>.local" to the text content type as a local (scope-specific) file spec
+ // added "<test case name>.local" to the text content type as a local (scope-specific) file spec
textContentType.getSettings(scope).addFileSpec(getName() + ".local", IContentType.FILE_NAME_SPEC);
} catch (CoreException e) {
fail("0.2", e);
@@ -103,7 +103,7 @@
assertTrue("1.0", !textContentType.isAssociatedWith("hello.foo", scope));
assertTrue("1.1", !textContentType.isAssociatedWith("hello.foo"));
try {
- // associate at the scope level
+ // associate at the scope level
localSettings.addFileSpec("foo", IContentType.FILE_EXTENSION_SPEC);
} catch (CoreException e) {
fail("1.5", e);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/TestBug94498.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/TestBug94498.java
index 1df6405..6c792a2 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/TestBug94498.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/content/TestBug94498.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/AllTests.java
index d428ae5..a368678 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchCopyFile.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchCopyFile.java
index 4a0d8ca..6aee31c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchCopyFile.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchCopyFile.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -16,7 +16,7 @@
import org.eclipse.core.tests.resources.OldCorePerformanceTest;
/**
- *
+ *
*/
public class BenchCopyFile extends OldCorePerformanceTest {
private static final int COUNT = 5000;
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchElementTree.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchElementTree.java
index 05788c4..d291dd3 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchElementTree.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchElementTree.java
@@ -159,7 +159,7 @@
}
/**
- * Does several routine operations on the given tree.
+ * Does several routine operations on the given tree.
* Returns an array of all the intermediary element trees.
*/
private ElementTree[] buildDeltaChain(ElementTree tree) {
@@ -302,7 +302,7 @@
}
/**
- *
+ *
*/
@Override
protected void tearDown() throws Exception {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchFileStore.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchFileStore.java
index 103858d..f87d799 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchFileStore.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchFileStore.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchMiscWorkspace.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchMiscWorkspace.java
index 2c7e5e7..4acae91 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchMiscWorkspace.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BenchMiscWorkspace.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BuilderPerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BuilderPerformanceTest.java
index f5d3f19..49ca377 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BuilderPerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/BuilderPerformanceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -57,7 +57,7 @@
}
/**
- * Creates and returns a new command with the SortBuilder, and the TestBuilder.BUILD_ID
+ * Creates and returns a new command with the SortBuilder, and the TestBuilder.BUILD_ID
* parameter set to the given value.
*/
protected ICommand createCommand(IProjectDescription description, String buildID) {
@@ -65,7 +65,7 @@
}
/**
- * Creates and returns a new command with the given builder name, and the TestBuilder.BUILD_ID
+ * Creates and returns a new command with the given builder name, and the TestBuilder.BUILD_ID
* parameter set to the given value.
*/
protected ICommand createCommand(IProjectDescription description, String builderName, String buildID) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/ContentDescriptionPerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/ContentDescriptionPerformanceTest.java
index 841b1bf..4a337f4 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/ContentDescriptionPerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/ContentDescriptionPerformanceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/FileSystemPerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/FileSystemPerformanceTest.java
index 89d9090..eee34b7 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/FileSystemPerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/FileSystemPerformanceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -20,7 +20,7 @@
import org.eclipse.core.tests.internal.localstore.LocalStoreTest;
/**
- * Automated performance tests for file system operations.
+ * Automated performance tests for file system operations.
*/
public class FileSystemPerformanceTest extends LocalStoreTest {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/LocalHistoryPerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/LocalHistoryPerformanceTest.java
index 794d9df..2d88494 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/LocalHistoryPerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/LocalHistoryPerformanceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -23,7 +23,7 @@
/**
* Contains a set of use case-oriented performance tests for the local history.
- *
+ *
* @since 3.1
*/
public class LocalHistoryPerformanceTest extends ResourceTest {
@@ -32,7 +32,7 @@
public static Test suite() {
// TestSuite suite = new TestSuite(LocalHistoryPerformanceTest.class.getName());
- // suite.addTest(new LocalHistoryPerformanceTest("testHistoryCleanUp100x4"));
+ // suite.addTest(new LocalHistoryPerformanceTest("testHistoryCleanUp100x4"));
// suite.addTest(new LocalHistoryPerformanceTest("testHistoryCleanUp4x100"));
// return suite;
return new TestSuite(LocalHistoryPerformanceTest.class);
@@ -47,7 +47,7 @@
}
/**
- * Creates a tree of resources containing history.
+ * Creates a tree of resources containing history.
*/
void createTree(IFolder base, final int filesPerFolder, final int statesPerFile) {
final IFolder[] folders = new IFolder[5];
@@ -194,7 +194,7 @@
original = setMaxFileStates("0.1", 1);
// make sure we start with no garbage
cleanHistory();
- // create our own garbage
+ // create our own garbage
createTree(base, filesPerFolder, statesPerFile);
ensureDoesNotExistInWorkspace(base);
}
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/MarkerPerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/MarkerPerformanceTest.java
index 97ff0e5..d6093dd 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/MarkerPerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/MarkerPerformanceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/PropertyManagerPerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/PropertyManagerPerformanceTest.java
index 4f7a005..474fbe1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/PropertyManagerPerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/PropertyManagerPerformanceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -42,7 +42,7 @@
}
/**
- * Creates a tree of resources.
+ * Creates a tree of resources.
*/
private List<IResource> createTree(IFolder base, int filesPerFolder) {
IFolder[] folders = new IFolder[5];
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/WorkspacePerformanceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/WorkspacePerformanceTest.java
index 472d787..3d1b5f0 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/WorkspacePerformanceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/perf/WorkspacePerformanceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Martin Oberhuber (Wind River) - [306573] Add tests for import from snapshot
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/AllTests.java
index cec93fa..9ed5891 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/AllTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/Bug316182RefreshProvider.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/Bug316182RefreshProvider.java
index c8ca3b5..4cd1c83 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/Bug316182RefreshProvider.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/Bug316182RefreshProvider.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/RefreshProviderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/RefreshProviderTest.java
index bfffc05..e0e8364 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/RefreshProviderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/RefreshProviderTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM - Initial API and implementation
*******************************************************************************/
@@ -189,13 +189,13 @@
}
private void joinAutoRefreshJobs() throws InterruptedException {
- // We must join on the auto-refresh family because the workspace changes done in the
- // tests above may be batched and broadcasted by the RefreshJob, not the main thread.
- // There is then a race condition between the main thread, the refresh job and the job
- // scheduled by MonitorManager.monitorAsync. Thus, we must join on both the RefreshJob
- // and the job scheduled by MonitorManager.monitorAsync. For simplicity, the job
- // scheduled by MonitorManager.monitorAsync has been set to belong to the same family
- // as the RefreshJob.
+ // We must join on the auto-refresh family because the workspace changes done in the
+ // tests above may be batched and broadcasted by the RefreshJob, not the main thread.
+ // There is then a race condition between the main thread, the refresh job and the job
+ // scheduled by MonitorManager.monitorAsync. Thus, we must join on both the RefreshJob
+ // and the job scheduled by MonitorManager.monitorAsync. For simplicity, the job
+ // scheduled by MonitorManager.monitorAsync has been set to belong to the same family
+ // as the RefreshJob.
Job.getJobManager().join(ResourcesPlugin.FAMILY_AUTO_REFRESH, null);
}
}
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/TestRefreshProvider.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/TestRefreshProvider.java
index 3aa4985..b2d3237 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/TestRefreshProvider.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/refresh/TestRefreshProvider.java
@@ -18,7 +18,7 @@
import org.eclipse.core.resources.refresh.*;
/**
- *
+ *
*/
public class TestRefreshProvider extends RefreshProvider implements IRefreshMonitor {
private final List<AssertionFailedError> failures = new CopyOnWriteArrayList<>();
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_006708.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_006708.java
index 5163bfd..108480a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_006708.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_006708.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_025457.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_025457.java
index 0d5b9b9..048ce8f 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_025457.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_025457.java
@@ -22,7 +22,7 @@
* Tests regression of bug 25457. In this case, attempting to move a project
* that is only a case change, where the move fails due to another handle being
* open on a file in the hierarchy, would cause deletion of the source.
- *
+ *
* Note: this is similar to Bug_32076, which deals with failure to move in
* the non case-change scenario.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_026294.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_026294.java
index 424ada2..26e8dbc 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_026294.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_026294.java
@@ -78,7 +78,7 @@
// success - a file couldn't be removed
}
- // Delete is best-case so check all the files.
+ // Delete is best-case so check all the files.
// Do a check on disk and in the workspace in case something is out of sync.
assertExistsInWorkspace("2.1.1", project);
assertExistsInFileSystem("2.1.2", project);
@@ -274,7 +274,7 @@
/**
* Tries to delete a closed project containing an unremovable file.
* Works only for Linux with natives.
- *
+ *
* TODO: enable this test once bug 48321 is fixed.
*/
public void testDeleteClosedProjectLinux() {
@@ -375,7 +375,7 @@
folder.delete(IResource.FORCE, getMonitor());
fail("2.0 - should have failed");
} catch (CoreException ce) {
- // success - a file couldn't be removed
+ // success - a file couldn't be removed
}
assertTrue("2.2", file1.exists());
assertTrue("2.4", !file3.exists());
@@ -434,7 +434,7 @@
folder.delete(IResource.FORCE, getMonitor());
fail("2.0 - should have failed");
} catch (CoreException ce) {
- // success - a file couldn't be removed
+ // success - a file couldn't be removed
}
assertTrue("2.2", file1.exists());
assertTrue("2.3", subFolder.exists());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_027271.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_027271.java
index 35f71ea..9862624 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_027271.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_027271.java
@@ -19,7 +19,7 @@
/**
* Tests how changes in the underlying preference store may affect the path
- * variable manager.
+ * variable manager.
*/
public class Bug_027271 extends ResourceTest {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_028981.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_028981.java
index 3d5a2cf..3c3fc73 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_028981.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_028981.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -98,7 +98,7 @@
assertTrue("3.1 - " + verifier.getMessage(), verifier.isValid());
verifier.reset();
- // no resources should be visited
+ // no resources should be visited
try {
teamPrivateFile.accept(verifier);
} catch (CoreException e) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029116.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029116.java
index 186d6f5..f085059 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029116.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029116.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029671.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029671.java
index 8891b2e..729ed90 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029671.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029671.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -44,7 +44,7 @@
ensureExistsInWorkspace(file, true);
try {
- // sets sync info for the folder and its children
+ // sets sync info for the folder and its children
try {
synchronizer.setSyncInfo(partner, folder, getRandomString().getBytes());
synchronizer.setSyncInfo(partner, file, getRandomString().getBytes());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029851.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029851.java
index 5dffb1c..1f7b050 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029851.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_029851.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_032076.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_032076.java
index 16ab668..ad19e5a 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_032076.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_032076.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -22,7 +22,7 @@
import org.eclipse.core.tests.resources.ResourceTest;
/**
- * When moving a resource "x" from parent "a" to parent "b", if "x" or any of
+ * When moving a resource "x" from parent "a" to parent "b", if "x" or any of
* its children can't be deleted, both "a" and "b" become out-of-sync and resource info is lost.
*/
public class Bug_032076 extends ResourceTest {
@@ -69,7 +69,7 @@
fail("0.1", e);
}
- // opens the file so it cannot be removed on Windows
+ // opens the file so it cannot be removed on Windows
try {
input = sourceFile.getContents();
} catch (CoreException ce) {
@@ -80,7 +80,7 @@
sourceFile.move(destinationFile.getFullPath(), IResource.FORCE, getMonitor());
fail("2.0");
} catch (CoreException ce) {
- // success
+ // success
}
// the source parent is in sync
@@ -104,7 +104,7 @@
assertTrue("4.1", sourceFile.exists());
assertTrue("4.2", sourceFile.isSynchronized(IResource.DEPTH_ZERO));
- // refresh the source parent
+ // refresh the source parent
try {
sourceParent.refreshLocal(IResource.DEPTH_INFINITE, getMonitor());
} catch (CoreException e) {
@@ -160,7 +160,7 @@
fail("0.1", e);
}
- // opens a file so it (and its parent) cannot be removed on Windows
+ // opens a file so it (and its parent) cannot be removed on Windows
try {
input = file1.getContents();
} catch (CoreException ce) {
@@ -171,7 +171,7 @@
folder.move(destinationFolder.getFullPath(), IResource.FORCE, getMonitor());
fail("2.0");
} catch (CoreException ce) {
- // success
+ // success
}
// the source parent is in sync
@@ -199,7 +199,7 @@
//this file should be successfully moved
assertTrue("4.3", !file2.exists());
- // refresh the source parent
+ // refresh the source parent
try {
sourceParent.refreshLocal(IResource.DEPTH_INFINITE, getMonitor());
} catch (CoreException e) {
@@ -255,7 +255,7 @@
fail("0.1", e);
}
- // opens a file so it (and its parent) cannot be removed on Windows
+ // opens a file so it (and its parent) cannot be removed on Windows
try {
input = file1.getContents();
} catch (CoreException ce) {
@@ -266,7 +266,7 @@
sourceProject.move(destinationProject.getFullPath(), IResource.FORCE, getMonitor());
fail("2.0");
} catch (CoreException ce) {
- // success
+ // success
}
// the source does not exist
@@ -348,7 +348,7 @@
sourceFile.move(destinationFile.getFullPath(), IResource.FORCE, getMonitor());
fail("2.0");
} catch (CoreException ce) {
- // success
+ // success
}
// the source parent is out-of-sync
@@ -371,7 +371,7 @@
// non-removable file has been moved (but not in file system - they are out-of-sync)
assertTrue("4.1", !sourceFile.exists());
- // refresh the source parent
+ // refresh the source parent
try {
sourceParent.refreshLocal(IResource.DEPTH_INFINITE, getMonitor());
} catch (CoreException e) {
@@ -434,7 +434,7 @@
roFolder.move(destinationParent.getFullPath().append(roFolder.getName()), IResource.FORCE, getMonitor());
fail("2.0");
} catch (CoreException ce) {
- // success
+ // success
}
// the source parent is out-of-sync
@@ -442,7 +442,7 @@
// the target parent is in-sync
assertTrue("3.1", destinationParent.isSynchronized(IResource.DEPTH_INFINITE));
- // resources have been copied to destination
+ // resources have been copied to destination
IFolder destinationFolder = destinationROFolder.getFolder(folder.getName());
IFile destinationFile1 = destinationROFolder.getFile(file1.getName());
IFile destinationFile2 = destinationFolder.getFile(file2.getName());
@@ -466,7 +466,7 @@
assertTrue("4.2", !file1.exists());
assertTrue("4.3", !file2.exists());
- // refresh the source parent
+ // refresh the source parent
try {
sourceParent.refreshLocal(IResource.DEPTH_INFINITE, getMonitor());
} catch (CoreException e) {
@@ -544,7 +544,7 @@
sourceProject.move(destinationDescription, IResource.FORCE, getMonitor());
fail("2.0");
} catch (CoreException ce) {
- // success
+ // success
}
// the source does not exist
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_044106.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_044106.java
index 8fcc454..01a1735 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_044106.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_044106.java
@@ -23,7 +23,7 @@
* Tests regression of bug 44106. In this case deleting a file which was a
* symbolic link on Linux actually deleted the files that it pointed too rather
* than just the link itself.
- *
+ *
* Also tests bug 174492, which is a similar bug except the KEEP_HISTORY
* flag is used when the resource is deleted from the workspace.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_079398.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_079398.java
index 199c981..2af5c8d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_079398.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_079398.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -16,7 +16,7 @@
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.tests.resources.ResourceTest;
-//NOTE: Should not hook this test up until the corresponding bug is fixed.
+//NOTE: Should not hook this test up until the corresponding bug is fixed.
public class Bug_079398 extends ResourceTest {
public Bug_079398(String name) {
@@ -62,7 +62,7 @@
// just make sure our assumptions are valid
assertEquals("0.4", 10, sourceStates.length);
- // copy the file - the history should be shared, but the destination
+ // copy the file - the history should be shared, but the destination
// will conform to the policy
try {
file1.copy(file2.getFullPath(), true, getMonitor());
@@ -87,7 +87,7 @@
// but the destination conforms to the policy
assertEquals("1.4", description.getMaxFileStates(), destinationStates.length);
- // now cause the destination to have many more states
+ // now cause the destination to have many more states
try {
for (int i = 0; i <= description.getMaxFileStates(); i++)
file2.setContents(getRandomContents(), IResource.FORCE | IResource.KEEP_HISTORY, getMonitor());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_092108.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_092108.java
index 42856f1..f4bf85c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_092108.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_092108.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_097608.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_097608.java
index 4c923a1..151d149 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_097608.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_097608.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_098740.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_098740.java
index 829be58..5e742da 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_098740.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_098740.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_126104.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_126104.java
index 658fd30..3c74904 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_126104.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_126104.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_132510.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_132510.java
index bf48e71..bb71d1d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_132510.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_132510.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_134364.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_134364.java
index b0e5543..07058ad 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_134364.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_134364.java
@@ -22,7 +22,7 @@
* Tests an error that occurs when a thread tries to read the workspace
* during snapshot. Since snapshot collapses unused trees, it is a destructive
* operation on the tree's parent chain. Any reader traversing the tree parent
- * chain during that destructive operation risks encountering the tree in a
+ * chain during that destructive operation risks encountering the tree in a
* malformed state. The fix was to synchronize the routine that collapses
* unused trees in ElementTree.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_147232.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_147232.java
index ecb145f..8bd24d2 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_147232.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_147232.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_160251.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_160251.java
index 396d421..c9519ec 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_160251.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_160251.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_192631.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_192631.java
index 5e331cb..45c95a1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_192631.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_192631.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_288315.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_288315.java
index 1c31a5d..37be70b 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_288315.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_288315.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -36,7 +36,7 @@
Arrays.fill(chars, 'a');
String value1 = new String(chars);
Float value2 = new Float(1.1);
-
+
IMarker nonPersistentMarker = ResourcesPlugin.getWorkspace().getRoot().createMarker(IMarker.MARKER);
try {
nonPersistentMarker.setAttribute(IMarker.MESSAGE, value1);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_329836.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_329836.java
index 07ec0c8..1835130 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_329836.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_329836.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sergey Prigogin (Google) - Bug 458006 - Fix tests that fail on Mac when filesystem.java7 is used
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_331445.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_331445.java
index e4bde2f..5dea240 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_331445.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/Bug_331445.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFileTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFileTest.java
index 8325b4f..808bdae 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFileTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFileTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -41,14 +41,14 @@
/**
* Bug states that the error code in the CoreException which is thrown when
- * you try to create a file in a read-only folder on Linux should be
+ * you try to create a file in a read-only folder on Linux should be
* ERROR_WRITE.
*/
public void testBug25658() {
- // This test is no longer valid since the error code is dependent on whether
+ // This test is no longer valid since the error code is dependent on whether
// or not the parent folder is marked as read-only. We need to write a different
- // test to make the file.create fail.
+ // test to make the file.create fail.
if (DISABLED )
return;
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFolderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFolderTest.java
index a0afd55..ffef740 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFolderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IFolderTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -76,7 +76,7 @@
}
/**
- * Bug 11510 [resources] Non-local folders do not become local when directory is created.
+ * Bug 11510 [resources] Non-local folders do not become local when directory is created.
*/
public void testBug11510() {
IWorkspaceRoot root = getWorkspace().getRoot();
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IProjectTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IProjectTest.java
index 24c2b06..1262895 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IProjectTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IProjectTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IResourceTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IResourceTest.java
index e88b000..926b475 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IResourceTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/IResourceTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sergey Prigogin (Google) - [462440] IFile#getContents methods should specify the status codes for its exceptions
@@ -407,7 +407,7 @@
/**
* 1GD7CSU: ITPCORE:ALL - IFile.create bug?
- *
+ *
* Ensure that creating a file with force==true doesn't throw
* a CoreException if the resource already exists on disk.
*/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GEAB3C_Test.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GEAB3C_Test.java
index 6ea13df..70ac95c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GEAB3C_Test.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GEAB3C_Test.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GH2B0N_Test.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GH2B0N_Test.java
index dd3d04b..0b196b1 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GH2B0N_Test.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/regression/PR_1GH2B0N_Test.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -62,7 +62,7 @@
IProject project2 = getWorkspace().getRoot().getProject("MyProject2");
IStatus status = getWorkspace().validateProjectLocation(project2, project.getLocation().append(project2.getName()));
- //Note this is not the original error case -
+ //Note this is not the original error case -
//since Eclipse 3.2 a project is allowed to be nested in another project
assertTrue("2.0", status.isOK());
} finally {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/AllTests.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/AllTests.java
index 914b026..1923d04 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/AllTests.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/AllTests.java
@@ -47,8 +47,8 @@
// comment this out until we have a better solution for running these tests
// (keeping their contents inside this plugin as subdirs and dynamically installing
// seems to be a promising approach)
- //suite.addTest(SaveParticipantTest.suite());
- //session tests from other packages
+ //suite.addTest(SaveParticipantTest.suite());
+ //session tests from other packages
suite.addTest(org.eclipse.core.tests.resources.regression.TestMultipleBuildersOfSameType.suite());
suite.addTest(org.eclipse.core.tests.resources.usecase.SnapshotTest.suite());
suite.addTest(ProjectDescriptionDynamicTest.suite());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Bug_266907.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Bug_266907.java
index 6b90430..3e97292 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Bug_266907.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Bug_266907.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/FindDeletedMembersTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/FindDeletedMembersTest.java
index 2eaf3ea..55e48fa 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/FindDeletedMembersTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/FindDeletedMembersTest.java
@@ -334,7 +334,7 @@
}
public void test7() {
- // once the project is gone, so is all the history for that project
+ // once the project is gone, so is all the history for that project
try {
// under root
IFile[] df = root.findDeletedMembersWithHistory(IResource.DEPTH_ZERO, getMonitor());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectDescriptionDynamicTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectDescriptionDynamicTest.java
index 693ab4b..aac5da9 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectDescriptionDynamicTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectDescriptionDynamicTest.java
@@ -3,7 +3,7 @@
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Broadcom Corporation - initial API and implementation
******************************************************************************/
@@ -115,7 +115,7 @@
assertEquals("2.1", configs[1], proj.getActiveBuildConfig());
// At description dynamic refs are what was set
assertEquals("2.2", dynRefs, proj.getDescription().getDynamicReferences());
- // At project all references are union of build configuration and project references
+ // At project all references are union of build configuration and project references
assertEquals("2.4", configRefsProjects, proj.getReferencedProjects());
// At the description level, dynamic config references match what was set.
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectPreferenceSessionTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectPreferenceSessionTest.java
index e0d719b..6467a45 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectPreferenceSessionTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/ProjectPreferenceSessionTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/SampleSessionTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/SampleSessionTest.java
index da5b9bd..0b3f46c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/SampleSessionTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/SampleSessionTest.java
@@ -17,9 +17,9 @@
import org.eclipse.core.tests.session.WorkspaceSessionTestSuite;
/**
- * This class is a simple example of how session tests operate. Each method
- * starting with "test" will be invoked, in the order they are declared, in a separate
- * runtime instance of the workspace. Contents on disk are automatically
+ * This class is a simple example of how session tests operate. Each method
+ * starting with "test" will be invoked, in the order they are declared, in a separate
+ * runtime instance of the workspace. Contents on disk are automatically
* cleaned up after the last test method is run.
*/
public class SampleSessionTest extends WorkspaceSessionTest {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1G1N9GZ.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1G1N9GZ.java
index 4059757..934f72c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1G1N9GZ.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1G1N9GZ.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1GALH44.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1GALH44.java
index 67a8ce5..d7ee9ff 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1GALH44.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/Test1GALH44.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug113943.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug113943.java
index 0452538..b9243d5 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug113943.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug113943.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug20127.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug20127.java
index cf1ef9e..b620745 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug20127.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug20127.java
@@ -48,7 +48,7 @@
description.setBuildSpec(new ICommand[] {command});
project.setDescription(description, getMonitor());
- //initial build
+ //initial build
workspace.build(IncrementalProjectBuilder.FULL_BUILD, getMonitor());
getWorkspace().save(true, getMonitor());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug202384.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug202384.java
index 15d4aba..90d885d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug202384.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug202384.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug208833.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug208833.java
index c4d52fb..340c053 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug208833.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug208833.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug294854.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug294854.java
index a348ba6..0fa52f4 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug294854.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug294854.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug297635.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug297635.java
index 4118d30..06fe14c 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug297635.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug297635.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug316182.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug316182.java
index 723df05..72879ae 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug316182.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug316182.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug369177.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug369177.java
index 49873de..408bce9 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug369177.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug369177.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug426263.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug426263.java
index 1576e92..e565eae 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug426263.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug426263.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug6995.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug6995.java
index a5386d5..ca6aa8f 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug6995.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug6995.java
@@ -23,7 +23,7 @@
/**
* Tests the fix for bug 6995. In this bug, a snapshot immediately after startup and
- * before doing any builds was losing the old built tree. A subsequent build would
+ * before doing any builds was losing the old built tree. A subsequent build would
* revert to a full build.
*/
public class TestBug6995 extends WorkspaceSessionTest {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug93473.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug93473.java
index da6b482..1347c58 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug93473.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestBug93473.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -23,7 +23,7 @@
/**
* Tests that the content description cache is preserved across sessions.
- *
+ *
* Note that this test is sensitive to the platform state stamp. If the test
* starts failing, it might mean bundles are being re-installed unnecessarily
* in the second session. For details, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=94859.
@@ -54,7 +54,7 @@
assertDoesNotExistInWorkspace("0.2", file);
ensureExistsInWorkspace(file, getRandomContents());
try {
- // this will also cause the cache flush job to be scheduled
+ // this will also cause the cache flush job to be scheduled
file.getContentDescription();
} catch (CoreException e) {
fail("1.0", e);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCloseNoSave.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCloseNoSave.java
index 6236d10..c3914f3 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCloseNoSave.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCloseNoSave.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -47,7 +47,7 @@
}
public void test2() throws CoreException {
- // projects should exist immediately due to snapshot - files may or
+ // projects should exist immediately due to snapshot - files may or
// may not exist due to snapshot timing. All resources should exist after refresh.
IResource[] members = workspace.getRoot().members();
assertEquals("1.0", 1, members.length);
@@ -57,7 +57,7 @@
IFolder folder = project.getFolder(FOLDER);
IFile file = folder.getFile(FILE);
- //opening the project does an automatic local refresh
+ //opening the project does an automatic local refresh
if (!project.isOpen())
project.open(null);
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCreateLinkedResourceInHiddenProject.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCreateLinkedResourceInHiddenProject.java
index 518bcab..5562e77 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCreateLinkedResourceInHiddenProject.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestCreateLinkedResourceInHiddenProject.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -58,7 +58,7 @@
IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(PROJECT);
IFolder folder = project.getFolder(getUniqueString());
-
+
try {
folder.createLink(path, IResource.NONE, getMonitor());
} catch (CoreException e) {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestInterestingProjectPersistence.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestInterestingProjectPersistence.java
index 90d7f74..1b52bb9 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestInterestingProjectPersistence.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestInterestingProjectPersistence.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Alexander Kurtakov <akurtako@redhat.com> - Bug 459343
@@ -105,7 +105,7 @@
description.setBuildSpec(new ICommand[] {command});
project1.setDescription(description, getMonitor());
- //initial build requesting no projects
+ //initial build requesting no projects
project1.build(IncrementalProjectBuilder.FULL_BUILD, getMonitor());
getWorkspace().save(true, getMonitor());
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMasterTableCleanup.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMasterTableCleanup.java
index 4018d54..3450153 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMasterTableCleanup.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMasterTableCleanup.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM - Initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMissingBuilder.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMissingBuilder.java
index bd7f7fb..4d9d94d 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMissingBuilder.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMissingBuilder.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMultiSnap.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMultiSnap.java
index 3f75054..9bf2258 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMultiSnap.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestMultiSnap.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSaveWithClosedProject.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSaveWithClosedProject.java
index 72d64e6..becc679 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSaveWithClosedProject.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSaveWithClosedProject.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSnapSaveSnap.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSnapSaveSnap.java
index e46b77f..72c8240 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSnapSaveSnap.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/TestSnapSaveSnap.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/WorkspaceSerializationTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/WorkspaceSerializationTest.java
index 59da54f..674c683 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/WorkspaceSerializationTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/session/WorkspaceSerializationTest.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/ConcurrentOperation01.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/ConcurrentOperation01.java
index 0f6e857..d91e285 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/ConcurrentOperation01.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/ConcurrentOperation01.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFileTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFileTest.java
index f4b6047..91459c5 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFileTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFileTest.java
@@ -82,7 +82,7 @@
IProgressMonitor monitor = null;
IWorkspace workspace = getWorkspace();
- // Create & open a project
+ // Create & open a project
IProject proj = workspace.getRoot().getProject(PROJECT);
try {
proj.create(monitor);
@@ -95,13 +95,13 @@
fail("2.2", e);
}
- // Construct a folder handle without creating the folder.
+ // Construct a folder handle without creating the folder.
IFolder folder = proj.getFolder(new Path(FOLDER));
- // Construct a file handle
+ // Construct a file handle
IFile file = folder.getFile(new Path(FILE));
- // Inspection methods with meaninful results invoked on a handle for a nonexistent folder.
+ // Inspection methods with meaninful results invoked on a handle for a nonexistent folder.
assertTrue("3.1", !file.exists());
assertTrue("3.2", file.getWorkspace().equals(workspace));
assertTrue("3.4", file.getProject().equals(proj));
@@ -119,20 +119,20 @@
assertTrue("3.14", file.getLocation().equals(absolutePath));
assertTrue("3.15", file.getProjectRelativePath().equals(new Path(FOLDER + "/" + FILE)));
- // Create a folder.
+ // Create a folder.
try {
folder.create(false, true, monitor);
} catch (CoreException e) {
fail("4", e);
}
- // Parent folder must exist for this.
+ // Parent folder must exist for this.
assertTrue("5", workspace.getRoot().findMember(file.getFullPath()) == null);
- // These tests produce failure because the file does not exist yet.
+ // These tests produce failure because the file does not exist yet.
nonexistentFileFailureTests(file, folder, workspace);
- // Create the file
+ // Create the file
try {
file.create(getContents("0123456789"), false, monitor);
} catch (CoreException e) {
@@ -175,18 +175,18 @@
assertTrue("8.6", false);
}
- // IResource.isLocal(int)
- // There is no server (yet) so everything should be local.
+ // IResource.isLocal(int)
+ // There is no server (yet) so everything should be local.
assertTrue("9.0", file.isLocal(IResource.DEPTH_ZERO));
- // No kids, but it should still answer yes.
+ // No kids, but it should still answer yes.
assertTrue("9.1", file.isLocal(IResource.DEPTH_ONE));
assertTrue("9.2", file.isLocal(IResource.DEPTH_INFINITE));
- // These guys have kids.
+ // These guys have kids.
assertTrue("9.3", proj.isLocal(IResource.DEPTH_INFINITE));
assertTrue("9.5", folder.isLocal(IResource.DEPTH_ONE));
assertTrue("9.6", folder.isLocal(IResource.DEPTH_INFINITE));
- // Delete the file
+ // Delete the file
try {
file.delete(false, monitor);
} catch (CoreException e) {
@@ -202,7 +202,7 @@
assertTrue("11.5", !workspace.getRoot().exists(file.getFullPath()));
assertTrue("11.6", file.getLocation().equals(absolutePath));
- // These tests produce failure because the file no longer exists.
+ // These tests produce failure because the file no longer exists.
nonexistentFileFailureTests(file, folder, workspace);
/* remove garbage */
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFolderTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFolderTest.java
index 1c8d9d2..b81cc0e 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFolderTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IFolderTest.java
@@ -70,9 +70,9 @@
*
* TBD:
*
- * Test deleting a folder that doesn't exist.
+ * Test deleting a folder that doesn't exist.
* Test that deleting a folder recursively deletes all children.
- * Test deleting a folder the is in a closed project.
+ * Test deleting a folder the is in a closed project.
* Test IResource API
* Test IFolder API
*/
@@ -80,13 +80,13 @@
IProgressMonitor monitor = null;
IWorkspace workspace = getWorkspace();
- // Construct a project handle.
+ // Construct a project handle.
IProject proj = workspace.getRoot().getProject(PROJECT);
- // Construct a folder handle
+ // Construct a folder handle
IPath path = new Path(FOLDER);
// Inspection methods with meaninful results invoked on a handle for a nonexistent folder
- // in a nonexistent project.
+ // in a nonexistent project.
IFolder folder = proj.getFolder(path);
assertTrue("2.1", !folder.exists());
assertTrue("2.2", folder.getWorkspace().equals(workspace));
@@ -99,43 +99,43 @@
assertTrue("2.11", folder.getParent().equals(proj));
assertTrue("2.13", folder.getProjectRelativePath().equals(new Path(FOLDER)));
- // Create a project without opening it.
+ // Create a project without opening it.
try {
proj.create(monitor);
} catch (CoreException e) {
fail("3", e);
}
- // These tests produce failure because the project is not open yet.
+ // These tests produce failure because the project is not open yet.
unopenedProjectFailureTests(folder, proj, workspace);
- // Open project.
+ // Open project.
try {
proj.open(monitor);
} catch (CoreException e) {
fail("4", e);
}
- // These tests produce failure because the folder does not exist yet.
+ // These tests produce failure because the folder does not exist yet.
nonexistentFolderFailureTests(folder, proj, workspace);
Path absolutePath = new Path(proj.getLocation().toOSString() + "/" + FOLDER);
assertTrue("5", folder.getLocation().equals(absolutePath));
- // Now create folder.
+ // Now create folder.
try {
folder.create(false, true, monitor);
} catch (CoreException e) {
fail("6", e);
}
- // The tests that failed above (becaues the folder must exist) now pass.
+ // The tests that failed above (becaues the folder must exist) now pass.
assertTrue("7.0", folder.exists());
assertTrue("7.1", workspace.getRoot().findMember(folder.getFullPath()).exists());
assertTrue("7.3", workspace.getRoot().findMember(folder.getFullPath()).equals(folder));
assertTrue("7.4", workspace.getRoot().exists(folder.getFullPath()));
assertTrue("7.5", folder.getLocation().equals(absolutePath));
- // Session Property
+ // Session Property
try {
assertTrue("8.0", folder.getSessionProperty(Q_NAME_SESSION) == null);
} catch (CoreException e) {
@@ -162,20 +162,20 @@
fail("8.7");
}
- // IResource.isLocal(int)
- // There is no server (yet) so everything should be local.
+ // IResource.isLocal(int)
+ // There is no server (yet) so everything should be local.
assertTrue("9.1", folder.isLocal(IResource.DEPTH_ZERO));
- // No kids, but it should still answer yes.
+ // No kids, but it should still answer yes.
assertTrue("9.2", folder.isLocal(IResource.DEPTH_ONE));
assertTrue("9.3", folder.isLocal(IResource.DEPTH_INFINITE));
- // These guys have kids.
+ // These guys have kids.
assertTrue("9.4", proj.isLocal(IResource.DEPTH_ONE));
assertTrue("9.5", proj.isLocal(IResource.DEPTH_INFINITE));
- // Construct a nested folder handle.
+ // Construct a nested folder handle.
IFolder nestedFolder = getWorkspace().getRoot().getFolder(folder.getFullPath().append(FOLDER));
- // Inspection methods with meaninful results invoked on a handle for a nonexistent folder.
+ // Inspection methods with meaninful results invoked on a handle for a nonexistent folder.
assertTrue("10.0", !nestedFolder.exists());
assertTrue("10.1", nestedFolder.getWorkspace().equals(workspace));
assertTrue("10.3", nestedFolder.getProject().equals(proj));
@@ -187,21 +187,21 @@
assertTrue("10.9", proj.getFolder(projRelativePath).equals(nestedFolder));
assertTrue("10.10", nestedFolder.getParent().equals(folder));
assertTrue("10.11", nestedFolder.getProjectRelativePath().equals(new Path(FOLDER + "/" + FOLDER)));
- // Now the parent folder has a kid.
+ // Now the parent folder has a kid.
assertTrue("10.12", folder.isLocal(IResource.DEPTH_ONE));
assertTrue("10.13", folder.isLocal(IResource.DEPTH_INFINITE));
- // These tests produce failure because the nested folder does not exist yet.
+ // These tests produce failure because the nested folder does not exist yet.
nonexistentFolderFailureTests(nestedFolder, folder, workspace);
- // Create the nested folder.
+ // Create the nested folder.
try {
nestedFolder.create(false, true, monitor);
} catch (CoreException e) {
fail("11", e);
}
- // The tests that failed above (becaues the folder must exist) now pass.
+ // The tests that failed above (becaues the folder must exist) now pass.
assertTrue("12.0", workspace.getRoot().exists(nestedFolder.getFullPath()));
assertTrue("12.1", nestedFolder.exists());
assertTrue("12.2", folder.findMember(nestedFolder.getName()).exists());
@@ -209,7 +209,7 @@
assertTrue("12.5", workspace.getRoot().exists(nestedFolder.getFullPath()));
assertTrue("12.6", nestedFolder.getLocation().equals(absolutePath.append(FOLDER)));
- // Delete the nested folder
+ // Delete the nested folder
try {
nestedFolder.delete(false, monitor);
} catch (CoreException e) {
@@ -225,17 +225,17 @@
assertTrue("13.5", !workspace.getRoot().exists(nestedFolder.getFullPath()));
assertTrue("13.6", nestedFolder.getLocation().equals(absolutePath.append(FOLDER)));
- // These tests produce failure because the nested folder no longer exists.
+ // These tests produce failure because the nested folder no longer exists.
nonexistentFolderFailureTests(nestedFolder, folder, workspace);
- // Parent is still there.
+ // Parent is still there.
assertTrue("14.0", folder.exists());
assertTrue("14.1", workspace.getRoot().findMember(folder.getFullPath()).exists());
assertTrue("14.3", workspace.getRoot().findMember(folder.getFullPath()).equals(folder));
assertTrue("14.4", workspace.getRoot().exists(folder.getFullPath()));
assertTrue("14.5", folder.getLocation().equals(absolutePath));
- // Delete the parent folder
+ // Delete the parent folder
try {
folder.delete(false, monitor);
} catch (CoreException e) {
@@ -246,7 +246,7 @@
assertTrue("15.5", !workspace.getRoot().exists(folder.getFullPath()));
assertTrue("15.6", folder.getLocation().equals(absolutePath));
- // These tests produce failure because the parent folder no longer exists.
+ // These tests produce failure because the parent folder no longer exists.
nonexistentFolderFailureTests(folder, proj, workspace);
try {
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IProjectTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IProjectTest.java
index e3fe89b..0309310 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IProjectTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IProjectTest.java
@@ -41,10 +41,10 @@
* Set methods throw an exception.
*/
protected void commonFailureTests(IProject proj, boolean created) {
- // Prefix to assertion messages.
+ // Prefix to assertion messages.
String method = "commonFailureTests(IProject," + (created ? "CREATED" : "NONEXISTENT") + "): ";
- // Tests for failure in get/set methods in IResource.
+ // Tests for failure in get/set methods in IResource.
commonFailureTestsForResource(proj, created);
// Description
@@ -68,7 +68,7 @@
IWorkspace wb = getWorkspace();
- // Try to open a non-created project.
+ // Try to open a non-created project.
try {
proj.open(monitor);
fail(method + "0.0");
@@ -77,7 +77,7 @@
}
assertTrue(method + "0.1", !proj.isOpen());
- // addMapping
+ // addMapping
try {
// Project must exist.
proj.getDescription().setLocation(new Path(LOCAL_LOCATION_PATH_STRING_0));
@@ -110,10 +110,10 @@
* Test that deletion of open project works.
* Test that session properties are lost when wb is closed or containing soln is closed or deleted or the
* receiving project is closed/deleted.
- * Test deleting a project that doesn't exist.
- * Test deleting a project the is in a closed solution.
+ * Test deleting a project that doesn't exist.
+ * Test deleting a project the is in a closed solution.
* Test that deleting a project recursively deletes all children.
- * Test closing a project that doesn't exist.
+ * Test closing a project that doesn't exist.
* Test closing a project the is in a closed solution.
* Test getDataLocation(Plugin)
* Test ensureLocal(...)
@@ -124,7 +124,7 @@
IWorkspace wb = getWorkspace();
IProgressMonitor monitor = null;
- // Create a project handle.
+ // Create a project handle.
IProject proj = wb.getRoot().getProject(PROJECT);
// Inspection methods with meaningful results invoked on a handle for a nonexistent project
@@ -136,11 +136,11 @@
assertTrue("1.9", !wb.getRoot().exists(proj.getFullPath()));
assertTrue("1.11", wb.getRoot().findMember(proj.getFullPath()) == null);
assertTrue("1.12", proj.getParent().equals(wb.getRoot()));
- // Legal question inherited from IResource: returns the receiver.
+ // Legal question inherited from IResource: returns the receiver.
assertTrue("1.13", proj.getProject().equals(proj));
assertTrue("1.14", proj.getProjectRelativePath().equals(new Path("")));
- // Check that there are no projects.
+ // Check that there are no projects.
assertTrue("6.1", wb.getRoot().getProjects().length == 0);
// These tests produce failure because the project does not exist yet.
@@ -153,18 +153,18 @@
fail("8");
}
- // Check that the project is get-able from the containers.
+ // Check that the project is get-able from the containers.
assertTrue("9.0", proj.exists());
assertTrue("9.1", wb.getRoot().findMember(proj.getName()).exists());
assertTrue("9.3", wb.getRoot().exists(proj.getFullPath()));
- // But it is still not open.
+ // But it is still not open.
assertTrue("9.4", !proj.isOpen());
assertTrue("9.5", wb.getRoot().findMember(proj.getFullPath()).equals(proj));
// These tests produce failure because the project has not been opened yet.
unopenedProjectFailureTests(proj);
- // Open project
+ // Open project
try {
proj.open(monitor);
} catch (CoreException e) {
@@ -175,7 +175,7 @@
/* Properties */
- // Session Property
+ // Session Property
try {
assertTrue("12.0", proj.getSessionProperty(Q_NAME_SESSION) == null);
} catch (CoreException e) {
@@ -217,34 +217,34 @@
Hashtable<String, String> arguments = new Hashtable<>(2);
arguments.put("param0", "arg0");
command.setArguments(arguments);
- // Add buildspec to project
+ // Add buildspec to project
desc.setBuildSpec(commands);
- // Compare project buildspecs
+ // Compare project buildspecs
assertTrue("15.5", Comparator.equals(desc.getBuildSpec(), commands));
- // IResource.isLocal(int)
+ // IResource.isLocal(int)
assertTrue("18.0", proj.isLocal(IResource.DEPTH_ZERO));
assertTrue("18.1", proj.isLocal(IResource.DEPTH_ONE));
assertTrue("18.2", proj.isLocal(IResource.DEPTH_INFINITE));
- // Close project
+ // Close project
try {
proj.close(monitor);
} catch (CoreException e) {
fail("19.0", e);
}
- // The project is no longer open
+ // The project is no longer open
assertTrue("19.1", !proj.isOpen());
- // But it still exists.
+ // But it still exists.
assertTrue("19.2", proj.exists());
assertTrue("19.5", wb.getRoot().findMember(proj.getFullPath()).equals(proj));
assertTrue("19.6", wb.getRoot().exists(proj.getFullPath()));
- // These tests produce failure because the project is now closed.
+ // These tests produce failure because the project is now closed.
unopenedProjectFailureTests(proj);
- // Delete the project
+ // Delete the project
try {
proj.delete(false, monitor);
} catch (CoreException e) {
@@ -255,7 +255,7 @@
assertTrue("20.1", !proj.exists());
assertTrue("20.2", wb.getRoot().getProjects().length == 0);
assertTrue("20.4", wb.getRoot().findMember(proj.getFullPath()) == null);
- // These tests produce failure because the project no longer exists.
+ // These tests produce failure because the project no longer exists.
nonexistentProjectFailureTests(proj);
assertTrue("20.5", !wb.getRoot().exists(proj.getFullPath()));
}
@@ -273,7 +273,7 @@
String method = "unopenedSolutionFailureTests(IProject,IWorkspace): ";
IProgressMonitor monitor = null;
- // Try to create the project without the solution being open.
+ // Try to create the project without the solution being open.
try {
proj.create(monitor);
fail(method + "1");
diff --git a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IWorkspaceRunnableUseCaseTest.java b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IWorkspaceRunnableUseCaseTest.java
index 392bdb8..5609160 100644
--- a/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IWorkspaceRunnableUseCaseTest.java
+++ b/tests/org.eclipse.core.tests.resources/src/org/eclipse/core/tests/resources/usecase/IWorkspaceRunnableUseCaseTest.java
@@ -92,7 +92,7 @@
} catch (OperationCanceledException e) {
// expected
}
- //waitForBuild(); // TODO: The test is invalid since it fails if this line is uncommented.
+ //waitForBuild(); // TODO: The test is invalid since it fails if this line is uncommented.
assertTrue("2.2", !builder.wasExecuted());
/* should not trigger a build */
@@ -106,7 +106,7 @@
} catch (CoreException e) {
assertEquals(Status.CANCEL_STATUS, e.getStatus());
}
- //waitForBuild(); // TODO: The test is invalid since it fails if this line is uncommented.
+ //waitForBuild(); // TODO: The test is invalid since it fails if this line is uncommented.
assertTrue("3.1", !builder.wasExecuted());
/* should not trigger a build */
@@ -119,7 +119,7 @@
} catch (CoreException e) {
fail("4.0", e);
}
- //waitForBuild(); // TODO: The test is invalid since it fails if this line is uncommented.
+ //waitForBuild(); // TODO: The test is invalid since it fails if this line is uncommented.
assertTrue("4.1", !builder.wasExecuted());
/* remove trash */