8197482: Make Jemmy ComponentChooser lambda friendly
Reviewed-by: serb
This commit is contained in:
parent
d78e0978af
commit
b6a2f5517e
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2018, 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
|
||||
@ -50,5 +50,7 @@ public interface ComponentChooser {
|
||||
*
|
||||
* @return a String representing the description value
|
||||
*/
|
||||
public String getDescription();
|
||||
public default String getDescription() {
|
||||
return toString();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user