typos & unused var fixed

This commit is contained in:
Thomas Müller 2013-08-20 17:20:36 +02:00
parent 0fa8f38076
commit cdada78aa4
2 changed files with 5 additions and 7 deletions

View File

@ -29,7 +29,7 @@ use \OC\AppFramework\Middleware\MiddlewareDispatcher;
/**
* Class to dispatch the request to the middleware disptacher
* Class to dispatch the request to the middleware dispatcher
*/
class Dispatcher {
@ -67,11 +67,10 @@ class Dispatcher {
$methodName);
$response = $controller->$methodName();
// if an exception appears, the middleware checks if it can handle the
// exception and creates a response. If no response is created, it is
// assumed that theres no middleware who can handle it and the error is
// thrown again
// if an exception appears, the middleware checks if it can handle the
// exception and creates a response. If no response is created, it is
// assumed that theres no middleware who can handle it and the error is
// thrown again
} catch(\Exception $exception){
$response = $this->middlewareDispatcher->afterException(
$controller, $methodName, $exception);

View File

@ -30,7 +30,6 @@ namespace OC\AppFramework\Http;
*/
abstract class DownloadResponse extends Response {
private $content;
private $filename;
private $contentType;