# HG changeset patch # User darcy # Date 1376504792 25200 # Node ID 2f9360fd259468cb98a47118489ae1f98e873890 # Parent d4f40eee11881c02b1ff3e5a2e0d060b08a4df54 8022990: Fix dep_ann lint warnings in swing code Reviewed-by: alexsch diff -r d4f40eee1188 -r 2f9360fd2594 jdk/src/share/classes/com/sun/java/swing/Painter.java --- a/jdk/src/share/classes/com/sun/java/swing/Painter.java Wed Aug 14 08:12:36 2013 -0700 +++ b/jdk/src/share/classes/com/sun/java/swing/Painter.java Wed Aug 14 11:26:32 2013 -0700 @@ -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. * * This code is free software; you can redistribute it and/or modify it @@ -29,5 +29,6 @@ * * @deprecated Use {@link javax.swing.Painter} instead. */ +@Deprecated public interface Painter extends javax.swing.Painter { } diff -r d4f40eee1188 -r 2f9360fd2594 jdk/src/share/classes/com/sun/java/swing/plaf/nimbus/AbstractRegionPainter.java --- a/jdk/src/share/classes/com/sun/java/swing/plaf/nimbus/AbstractRegionPainter.java Wed Aug 14 08:12:36 2013 -0700 +++ b/jdk/src/share/classes/com/sun/java/swing/plaf/nimbus/AbstractRegionPainter.java Wed Aug 14 11:26:32 2013 -0700 @@ -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. * * This code is free software; you can redistribute it and/or modify it @@ -29,5 +29,6 @@ * * @deprecated Use {@link javax.swing.plaf.nimbus.AbstractRegionPainter} instead. */ +@Deprecated public abstract class AbstractRegionPainter extends javax.swing.plaf.nimbus.AbstractRegionPainter { } diff -r d4f40eee1188 -r 2f9360fd2594 jdk/src/share/classes/com/sun/java/swing/plaf/nimbus/NimbusLookAndFeel.java --- a/jdk/src/share/classes/com/sun/java/swing/plaf/nimbus/NimbusLookAndFeel.java Wed Aug 14 08:12:36 2013 -0700 +++ b/jdk/src/share/classes/com/sun/java/swing/plaf/nimbus/NimbusLookAndFeel.java Wed Aug 14 11:26:32 2013 -0700 @@ -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. * * This code is free software; you can redistribute it and/or modify it @@ -29,5 +29,6 @@ * * @deprecated Use {@link javax.swing.plaf.nimbus.NimbusLookAndFeel} instead. */ +@Deprecated public class NimbusLookAndFeel extends javax.swing.plaf.nimbus.NimbusLookAndFeel { }