mirror of https://github.com/dspinellis/UMLGraph
Merge pull request #30 from DevFactory/release/add-missing-override-annotation-fix-1
[squid:S1161] "@Override" annotation should be used on any method overriding (since Java 5) or implementing (since Java 6) another one
This commit is contained in:
commit
a0ed8a2672
|
|
@ -168,6 +168,8 @@ public class ContextMatcher implements ClassMatcher {
|
|||
prologue();
|
||||
}
|
||||
|
||||
@Override
|
||||
@Override
|
||||
public void prologue() throws IOException {
|
||||
w = new PrintWriter(new DevNullWriter());
|
||||
}
|
||||
|
|
@ -180,14 +182,17 @@ public class ContextMatcher implements ClassMatcher {
|
|||
*/
|
||||
private static class DevNullWriter extends Writer {
|
||||
|
||||
@Override
|
||||
public void write(char[] cbuf, int off, int len) throws IOException {
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
@Override
|
||||
public void flush() throws IOException {
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close() throws IOException {
|
||||
// nothing to do
|
||||
}
|
||||
|
|
|
|||
|
|
@ -189,7 +189,8 @@ public class Options implements Cloneable, OptionProvider {
|
|||
dotExecutable = "dot";
|
||||
}
|
||||
|
||||
public Object clone() {
|
||||
@Override
|
||||
public Object clone() {
|
||||
Options clone = null;
|
||||
try {
|
||||
clone = (Options) super.clone();
|
||||
|
|
|
|||
Loading…
Reference in New Issue