David Pursehouse
7ac182f4e4
Enable and fix 'Should be tagged with @Override' warning
Set missingOverrideAnnotation=warning in Eclipse compiler preferences which enables the warning: The method <method> of type <type> should be tagged with @Override since it actually overrides a superclass method Justification for this warning is described in: http://stackoverflow.com/a/94411/381622 Enabling this causes in excess of 1000 warnings across the entire code-base. They are very easy to fix automatically with Eclipse's "Quick Fix" tool. Fix all of them except 2 which cause compilation failure when the project is built with mvn; add TODO comments on those for further investigation. Change-Id: I5772061041fd361fe93137fd8b0ad356e748a29c Signed-off-by: David Pursehouse <david.pursehouse@gmail.com> |
7 年之前 | |
---|---|---|
.. | ||
errors | Add support for refusing LFS request due to invalid authorization | 7 年之前 |
internal | LfsProtocolServlet: Improve error on getLargeFileRepository failure | 7 年之前 |
lib | Enable and fix 'Should be tagged with @Override' warning | 7 年之前 |
CleanFilter.java | Enable and fix 'Should be tagged with @Override' warning | 7 年之前 |
Lfs.java | Use AnyLongObjectId instead of LongObjectId in LFS API | 7 年之前 |
LfsPointer.java | Don't rely on default locale when using toUpperCase() and toLowerCase() | 7 年之前 |
SmudgeFilter.java | Add built-in LFS smudge filter for local case | 7 年之前 |