Fix typos in Javadoc and test names

No functional changes.

Change-Id: Id3f0df9f5e33d50a2a1c60e6d05a53a9f3e97fca
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/StagedChangeCacheTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/StagedChangeCacheTest.java
index 7dc9692..34d32d1 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/StagedChangeCacheTest.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/StagedChangeCacheTest.java
@@ -231,7 +231,7 @@
 	}
 
 	@Test
-	public void shouldListTwoWorkspaceChagneInFolder() throws Exception {
+	public void shouldListTwoWorkspaceChangesInFolder() throws Exception {
 		// given
 		try (Git git = new Git(db)) {
 			writeTrashFile(db, "folder/a.txt", "trash");
diff --git a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/WorkingTreeChangeCacheTest.java b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/WorkingTreeChangeCacheTest.java
index e021b1e..dfb9268 100644
--- a/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/WorkingTreeChangeCacheTest.java
+++ b/org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/WorkingTreeChangeCacheTest.java
@@ -210,7 +210,7 @@
 	}
 
 	@Test
-	public void shouldListTwoWorkspaceChagneInFolder() throws Exception {
+	public void shouldListTwoWorkspaceChangesInFolder() throws Exception {
 		// given
 		writeTrashFile(db, "folder/a.txt", "trash");
 		writeTrashFile(db, "folder/b.txt", "trash");
@@ -231,7 +231,7 @@
 	}
 
 	@Test
-	public void shouldNotListIgnorefFile() throws Exception {
+	public void shouldNotListIgnoredFile() throws Exception {
 		// given
 		writeTrashFile(db, "a.txt", "content");
 		writeTrashFile(db, ".gitignore", "a.txt");
diff --git a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/CommonUtils.java b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/CommonUtils.java
index 759264e..d9aafff 100644
--- a/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/CommonUtils.java
+++ b/org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/CommonUtils.java
@@ -62,7 +62,7 @@
 	 * numerous order (also known as natural order), case insensitive.
 	 *
 	 * The comparator is guaranteed to return a non-zero value if
-	 * string1.equals(String2) returns false
+	 * {@code string1.equals(string2)} returns {@code false}.
 	 */
 	public static final Comparator<String> STRING_ASCENDING_COMPARATOR = new Comparator<String>() {
 		@Override
@@ -232,7 +232,7 @@
 	/**
 	 * Assuming that the string {@code commitMessage} is a commit message,
 	 * returns the offset in the string of the footer of the commit message, if
-	 * one can found, or -1 otherwise.
+	 * one can be found, or -1 otherwise.
 	 * <p>
 	 * A footer of a commit message is defined to be the non-empty lines
 	 * following the last empty line in the commit message if they have the
@@ -277,7 +277,7 @@
 	 *
 	 * @param resources
 	 *            the collection of {@link IResource}s.
-	 * @return A comma separated list the resource names. The last element is
+	 * @return A comma separated list of the resource names. The last element is
 	 *         separated with an ampersand.
 	 */
 	public static String getResourceNames(Iterable<IResource> resources) {