< prev index next >

src/jdk.compiler/share/classes/com/sun/source/tree/SwitchExpressionTree.java

Print this page
rev 56510 : 8232684: Make switch expressions final
Reviewed-by: TBD

@@ -26,18 +26,10 @@
 package com.sun.source.tree;
 
 import java.util.List;
 
 /**
- * {@preview Associated with switch expressions, a preview feature of
- *           the Java language.
- *
- *           This interface is associated with <i>switch expressions</i>, a preview
- *           feature of the Java language. Preview features
- *           may be removed in a future release, or upgraded to permanent
- *           features of the Java language.}
- *
  * A tree node for a {@code switch} expression.
  *
  * For example:
  * <pre>
  *   switch ( <em>expression</em> ) {

@@ -47,11 +39,10 @@
  *
  * @jls 15.29 Switch Expressions
  *
  * @since 12
  */
-@jdk.internal.PreviewFeature(feature=jdk.internal.PreviewFeature.Feature.SWITCH_EXPRESSIONS)
 public interface SwitchExpressionTree extends ExpressionTree {
     /**
      * Returns the expression for the {@code switch} expression.
      * @return the expression
      */
< prev index next >