< prev index next >

src/java.base/share/classes/java/math/RoundingMode.java

Print this page

        

@@ -88,10 +88,11 @@
  * @author  Josh Bloch
  * @author  Mike Cowlishaw
  * @author  Joseph D. Darcy
  * @since 1.5
  */
+@SuppressWarnings("deprecation") // Legacy rounding mode constants in BigDecimal
 public enum RoundingMode {
 
         /**
          * Rounding mode to round away from zero.  Always increments the
          * digit prior to a non-zero discarded fraction.  Note that this
< prev index next >