summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-06-05 21:11:18 +0200
committerBart Visscher <bartv@thisnet.nl>2012-06-05 23:07:11 +0200
commit9984c2a5937b38d6bed294c12f58d3a62730c6c8 (patch)
tree0a1e9fdabf0a2bae8c7c530b4286157aa28cd8b7
parent20aee83d07b67b484ca447b004d91ae188b2ec07 (diff)
downloadnextcloud-server-9984c2a5937b38d6bed294c12f58d3a62730c6c8.tar.gz
nextcloud-server-9984c2a5937b38d6bed294c12f58d3a62730c6c8.zip
Spelling fixes in XCache files
-rw-r--r--lib/cache/xcache.php5
-rw-r--r--tests/lib/cache.php6
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/cache/xcache.php b/lib/cache/xcache.php
index ad1e3e2c1f2..b57338929e0 100644
--- a/lib/cache/xcache.php
+++ b/lib/cache/xcache.php
@@ -6,10 +6,9 @@
* See the COPYING-README file.
*/
-
-class OC_Cache_XCache{
+class OC_Cache_XCache {
/**
- * entries in XCache gets namespaced to prevent collisions between owncloud instaces and users
+ * entries in XCache gets namespaced to prevent collisions between owncloud instances and users
*/
protected function getNameSpace() {
return OC_Util::getInstanceId().'/'.OC_User::getUser().'/';
diff --git a/tests/lib/cache.php b/tests/lib/cache.php
index fdc39aec184..e90826b85f2 100644
--- a/tests/lib/cache.php
+++ b/tests/lib/cache.php
@@ -28,7 +28,7 @@ abstract class Test_Cache extends UnitTestCase {
$value='ipsum lorum';
$this->instance->set('value1',$value);
$received=$this->instance->get('value1');
- $this->assertEqual($value,$received,'Value not overwritten by seccond set');
+ $this->assertEqual($value,$received,'Value not overwritten by second set');
$value2='foobar';
$this->instance->set('value2',$value2);
@@ -36,7 +36,7 @@ abstract class Test_Cache extends UnitTestCase {
$this->assertTrue($this->instance->hasKey('value1'));
$this->assertTrue($this->instance->hasKey('value2'));
$this->assertEqual($value,$received,'Value changed while setting other variable');
- $this->assertEqual($value2,$received2,'Seccond value not equal to original');
+ $this->assertEqual($value2,$received2,'Second value not equal to original');
$this->assertFalse($this->instance->hasKey('not_set'));
$this->assertNull($this->instance->get('not_set'),'Unset value not equal to null');
@@ -53,4 +53,4 @@ abstract class Test_Cache extends UnitTestCase {
$this->assertTrue($this->instance->hasKey('value2'));
$this->assertEqual($value2,$this->instance->get('value2'));
}
-} \ No newline at end of file
+}