jdk/src/share/classes/java/util/function/package-info.java
changeset 19033 13013b301bd0
parent 16011 890a7ed97f6c
child 19040 7b25fde2a4ed
--- a/jdk/src/share/classes/java/util/function/package-info.java	Fri Jul 19 12:53:36 2013 +0400
+++ b/jdk/src/share/classes/java/util/function/package-info.java	Fri Jul 19 09:42:58 2013 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2013, 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
@@ -30,13 +30,13 @@
  * adapted.  Functional interfaces can provide a target type in multiple contexts,
  * such as assignment context, method invocation, or cast context:
  *
- * <pre>
- *     Predicate&lt;String> p = String::isEmpty;
+ * <pre>{@code
+ *     Predicate<String> p = String::isEmpty;
  *
  *     stream.filter(e -> e.getSize() > 10)...
  *
  *     stream.map((ToIntFunction) e -> e.getSize())...
- * </pre>
+ * }</pre>
  *
  * <p>The interfaces in this package are functional interfaces used by the JDK,
  * and are available to be used by user code as well.  While they do not identify