summaryrefslogtreecommitdiffstats
path: root/junit/src/main/java
diff options
context:
space:
mode:
authorSebastien Hertz <shertz@google.com>2011-08-04 20:15:12 +0200
committerSebastien Hertz <shertz@google.com>2011-08-04 20:20:36 +0200
commit703fba55df1af9ddc6d7cae41b517cf114f32f73 (patch)
treeb852be59440506ff38794cc90fb516251d49e779 /junit/src/main/java
parent1886a753937276e626acc42b44d878a5e0a50284 (diff)
downloadlibcore-703fba55df1af9ddc6d7cae41b517cf114f32f73.zip
libcore-703fba55df1af9ddc6d7cae41b517cf114f32f73.tar.gz
libcore-703fba55df1af9ddc6d7cae41b517cf114f32f73.tar.bz2
Fix Junit assertNotSame documentation (bug 17405)
Bug: http://code.google.com/p/android/issues/detail?id=17405 Change-Id: Id9e9cef8c86f3627ab943a24996f9fa09471d72a
Diffstat (limited to 'junit/src/main/java')
-rw-r--r--junit/src/main/java/junit/framework/Assert.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/junit/src/main/java/junit/framework/Assert.java b/junit/src/main/java/junit/framework/Assert.java
index 364e646..289449a 100644
--- a/junit/src/main/java/junit/framework/Assert.java
+++ b/junit/src/main/java/junit/framework/Assert.java
@@ -249,7 +249,7 @@ public class Assert {
assertSame(null, expected, actual);
}
/**
- * Asserts that two objects refer to the same object. If they are not
+ * Asserts that two objects do not refer to the same object. If they are
* an AssertionFailedError is thrown with the given message.
*/
static public void assertNotSame(String message, Object expected, Object actual) {
@@ -257,7 +257,7 @@ public class Assert {
failSame(message);
}
/**
- * Asserts that two objects refer to the same object. If they are not
+ * Asserts that two objects do not refer to the same object. If they are
* the same an AssertionFailedError is thrown.
*/
static public void assertNotSame(Object expected, Object actual) {