Skip to content

Commit 847890c

Browse files
committed
Change tags to {WillNotCompile}
1 parent fe1aac1 commit 847890c

File tree

15 files changed

+15
-15
lines changed

15 files changed

+15
-15
lines changed

exceptions/TryAnything.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66

77
class Anything {}
88

functional/Closure3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66
import java.util.function.*;
77

88
public class Closure3 {

functional/Closure5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66
import java.util.function.*;
77

88
public class Closure5 {

functional/Closure7.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66
import java.util.function.*;
77

88
public class Closure7 {

functional/Closure9.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66
import java.util.*;
77
import java.util.function.*;
88

generics/Erased.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66

77
public class Erased<T> {
88
private final int SIZE = 100;

generics/HijackedInterface.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66

77
class Cat
88
extends ComparablePet implements Comparable<Cat>{

generics/Manipulation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66

77
class Manipulator<T> {
88
private T obj;

generics/MultipleInterfaceVariants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66
package generics;
77

88
interface Payable<T> {}

generics/NonCovariantGenerics.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// (c)2017 MindView LLC: see Copyright.txt
33
// We make no guarantees that this code is fit for any purpose.
44
// Visit http://OnJava8.com for more book information.
5-
// {CompileTimeError} (Will not compile)
5+
// {WillNotCompile}
66
import java.util.*;
77

88
public class NonCovariantGenerics {

0 commit comments

Comments
 (0)