Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.4
-
Fix Version/s: 1.8.5, 2.0-beta-2
-
Component/s: None
-
Labels:
-
Number of attachments :
Description
Currently, the check only fails under certain circumstatnces, but according to Jochen, it should always fail.
The following passes, but apparently should not:
class Repository {
def find(String id) {}
private <T> T find(Class<T> type, String id, boolean suppressNotFoundExceptions) { }
}
The following fails, as expected:
class Repository {
def find(String id) {}
private <T> T find(Class<T> type, String id, boolean suppressNotFoundExceptions = true) { }
}