8197482: Make Jemmy ComponentChooser lambda friendly

Reviewed-by: serb
This commit is contained in:
Abdul Kolarkunnu 2018-02-16 18:17:34 +05:30
parent d78e0978af
commit b6a2f5517e

View File

@ -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();
}
}