8022990: Fix dep_ann lint warnings in swing code

Reviewed-by: alexsch
This commit is contained in:
Joe Darcy 2013-08-14 11:26:32 -07:00
parent ec7c598299
commit 57b04c9183
3 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,5 +29,6 @@ package com.sun.java.swing;
* *
* @deprecated Use {@link javax.swing.Painter} instead. * @deprecated Use {@link javax.swing.Painter} instead.
*/ */
@Deprecated
public interface Painter<T> extends javax.swing.Painter<T> { public interface Painter<T> extends javax.swing.Painter<T> {
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,5 +29,6 @@ package com.sun.java.swing.plaf.nimbus;
* *
* @deprecated Use {@link javax.swing.plaf.nimbus.AbstractRegionPainter} instead. * @deprecated Use {@link javax.swing.plaf.nimbus.AbstractRegionPainter} instead.
*/ */
@Deprecated
public abstract class AbstractRegionPainter extends javax.swing.plaf.nimbus.AbstractRegionPainter { public abstract class AbstractRegionPainter extends javax.swing.plaf.nimbus.AbstractRegionPainter {
} }

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -29,5 +29,6 @@ package com.sun.java.swing.plaf.nimbus;
* *
* @deprecated Use {@link javax.swing.plaf.nimbus.NimbusLookAndFeel} instead. * @deprecated Use {@link javax.swing.plaf.nimbus.NimbusLookAndFeel} instead.
*/ */
@Deprecated
public class NimbusLookAndFeel extends javax.swing.plaf.nimbus.NimbusLookAndFeel { public class NimbusLookAndFeel extends javax.swing.plaf.nimbus.NimbusLookAndFeel {
} }