提交 d8897ade 编写于 作者: D darcy

8022990: Fix dep_ann lint warnings in swing code

Reviewed-by: alexsch
上级 98c9ce71
/* /*
* 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; ...@@ -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> {
} }
/* /*
* 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; ...@@ -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 {
} }
/* /*
* 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; ...@@ -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 {
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册