-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
After reviewing the code, I've come across a number of empty code blocks that serve no purpose. Perhaps, at some earlier time, they were used but have gradually been trimmed down over time until they are now empty, yet never removed. Regardless, as they no longer serve any purpose, other than to cause confusion, it's best to remove them.
They are:
https://github.com/owncloud/core/blob/master/apps/files_sharing/lib/Helper.php#L143
https://github.com/owncloud/core/blob/master/lib/private/App/CodeChecker/NodeVisitor.php#L136
https://github.com/owncloud/core/blob/master/lib/private/Archive/ZIP.php#L46
https://github.com/owncloud/core/blob/master/lib/private/App/CodeChecker/NodeVisitor.php#L136
https://github.com/owncloud/core/blob/master/lib/private/App/CodeChecker/NodeVisitor.php#L164
https://github.com/owncloud/core/blob/master/lib/private/App/CodeChecker/NodeVisitor.php#L180
https://github.com/owncloud/core/blob/master/tests/data/app/code-checker/test-not-equal.php#L8
https://github.com/owncloud/core/blob/master/tests/data/app/code-checker/test-identical-operator.php#L8
https://github.com/owncloud/core/blob/master/tests/data/app/code-checker/test-identical-operator.php#L10
https://github.com/owncloud/core/blob/master/tests/data/app/code-checker/test-equal.php#L8
https://github.com/owncloud/core/blob/master/lib/private/Files/Storage/Common.php#L430