Skip to content

Commit

Permalink
Suppress warnings related to the JApplet/Applet removal
Browse files Browse the repository at this point in the history
  • Loading branch information
ptziegler committed Feb 1, 2024
1 parent 9c7ea80 commit 10b6017
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011, 2023 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -42,6 +42,7 @@
* @author scheglov_ke
* @coverage swing.gef.policy
*/
@SuppressWarnings("removal")
public final class MenuBarDropLayoutEditPolicy extends LayoutEditPolicy {
private final ContainerInfo m_container;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -27,6 +27,7 @@
* @author scheglov_ke
* @coverage swing.gef.policy
*/
@SuppressWarnings("removal")
public final class MenuDropPolicyConfigurator implements IEditPartConfigurator {
@Override
public void configure(EditPart context, EditPart editPart) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -27,6 +27,7 @@
* @author scheglov_ke
* @coverage swing.model
*/
@SuppressWarnings("removal")
public final class AppletInfo extends ContainerInfo implements IJavaInfoRendering {
////////////////////////////////////////////////////////////////////////////
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011, 2023 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -47,6 +47,7 @@
* @author scheglov_ke
* @coverage swing.model.menu
*/
@SuppressWarnings("removal")
public final class JMenuBarInfo extends ContainerInfo implements IAdaptable {
////////////////////////////////////////////////////////////////////////////
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011, 2023 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -44,6 +44,7 @@
*
* @author mitin_aa
*/
@SuppressWarnings("removal")
public final class SwingScreenshotMaker {
private final AbstractComponentInfo m_root;
private final Map<Component, java.awt.Image> m_componentImages = new HashMap<>();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand All @@ -24,6 +24,7 @@
* @author lobas_av
* @coverage swing.wizards.ui
*/
@SuppressWarnings("removal")
public final class NewJAppletWizard extends SwingWizard {
////////////////////////////////////////////////////////////////////////////
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -30,6 +30,7 @@
* @author lobas_av
* @coverage swing.wizards.ui
*/
@SuppressWarnings("removal")
public final class NewJAppletWizardPage extends SwingWizardPage {
////////////////////////////////////////////////////////////////////////////
//
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007 SAS Institute. All rights reserved. This program and the accompanying
* Copyright (c) 2007, 2024 SAS Institute. All rights reserved. This program and the accompanying
* materials are made available under the terms of the Eclipse Public License v1.0 which accompanies
* this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
*
Expand Down Expand Up @@ -96,6 +96,7 @@
* Of course, as in single-toolkit environments, long-running tasks should be offloaded from either
* UI thread to a background thread. The Eclipse jobs API can be used for this purpose.
*/
@SuppressWarnings("removal")
public abstract class EmbeddedSwingComposite extends Composite {
private static class AwtContext {
private final Frame frame;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2007 SAS Institute. All rights reserved. This program and the accompanying
* Copyright (c) 2007, 2024 SAS Institute. All rights reserved. This program and the accompanying
* materials are made available under the terms of the Eclipse Public License v1.0 which accompanies
* this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
*
Expand Down Expand Up @@ -92,6 +92,7 @@
* Of course, as in single-toolkit environments, long-running tasks should be offloaded from either
* UI thread to a background thread. The Eclipse jobs API can be used for this purpose.
*/
@SuppressWarnings("removal")
public abstract class EmbeddedSwingComposite2 extends Composite {
private static class AwtContext {
private final Frame frame;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2011 Google, Inc.
* Copyright (c) 2011, 2024 Google, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
Expand Down Expand Up @@ -31,6 +31,7 @@
*
* @author scheglov_ke
*/
@SuppressWarnings("removal")
public class AppletTest extends SwingModelTest {
////////////////////////////////////////////////////////////////////////////
//
Expand Down

0 comments on commit 10b6017

Please sign in to comment.