Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-10-05 18:14:08 +0000
committerMichael Keppler2018-10-06 15:19:16 +0000
commit41664dd15940b78269695a575d9c6c46647a49a1 (patch)
treea24685cc8186c41386d4e76b54de0fb8b6b94262
parent3b7ee6c8925b214c8ce410abc47ca27070964cd7 (diff)
downloadegit-41664dd15940b78269695a575d9c6c46647a49a1.tar.gz
egit-41664dd15940b78269695a575d9c6c46647a49a1.tar.xz
egit-41664dd15940b78269695a575d9c6c46647a49a1.zip
Fix typos in Javadoc and test names
No functional changes. Change-Id: Id3f0df9f5e33d50a2a1c60e6d05a53a9f3e97fca Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/StagedChangeCacheTest.java2
-rw-r--r--org.eclipse.egit.core.test/src/org/eclipse/egit/core/synchronize/WorkingTreeChangeCacheTest.java4
-rw-r--r--org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/CommonUtils.java6
3 files changed, 6 insertions, 6 deletions
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 7dc96929a..34d32d1c2 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 @@ public class StagedChangeCacheTest extends AbstractCacheTest {
}
@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 e021b1ee3..dfb926897 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 @@ public class WorkingTreeChangeCacheTest extends AbstractCacheTest {
}
@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 @@ public class WorkingTreeChangeCacheTest extends AbstractCacheTest {
}
@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 759264e72..d9aafff3c 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 @@ public class CommonUtils {
* 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 @@ public class CommonUtils {
/**
* 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 @@ public class CommonUtils {
*
* @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) {

Back to the top