src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor8.java
changeset 50964 225b61293064
parent 47868 5cc5b8270cad
--- a/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor8.java	Wed Jul 11 08:44:00 2018 +0200
+++ b/src/java.compiler/share/classes/javax/lang/model/util/TypeKindVisitor8.java	Wed Jul 11 08:24:39 2018 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2018, 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
@@ -79,6 +79,7 @@
      * Constructor for concrete subclasses to call; uses {@code null}
      * for the default value.
      */
+    @SuppressWarnings("deprecation") // Superclass constructor deprecated
     protected TypeKindVisitor8() {
         super(null);
     }
@@ -89,6 +90,7 @@
      *
      * @param defaultValue the value to assign to {@link #DEFAULT_VALUE}
      */
+    @SuppressWarnings("deprecation") // Superclass constructor deprecated
     protected TypeKindVisitor8(R defaultValue) {
         super(defaultValue);
     }