add java 11 support (o) (#1222)
This commit is contained in:
@@ -54,14 +54,14 @@ public class App {
|
||||
* @param args command line args
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
OliphauntPool pool = new OliphauntPool();
|
||||
var pool = new OliphauntPool();
|
||||
LOGGER.info(pool.toString());
|
||||
Oliphaunt oliphaunt1 = pool.checkOut();
|
||||
var oliphaunt1 = pool.checkOut();
|
||||
LOGGER.info("Checked out {}", oliphaunt1);
|
||||
LOGGER.info(pool.toString());
|
||||
Oliphaunt oliphaunt2 = pool.checkOut();
|
||||
var oliphaunt2 = pool.checkOut();
|
||||
LOGGER.info("Checked out {}", oliphaunt2);
|
||||
Oliphaunt oliphaunt3 = pool.checkOut();
|
||||
var oliphaunt3 = pool.checkOut();
|
||||
LOGGER.info("Checked out {}", oliphaunt3);
|
||||
LOGGER.info(pool.toString());
|
||||
LOGGER.info("Checking in {}", oliphaunt1);
|
||||
@@ -69,9 +69,9 @@ public class App {
|
||||
LOGGER.info("Checking in {}", oliphaunt2);
|
||||
pool.checkIn(oliphaunt2);
|
||||
LOGGER.info(pool.toString());
|
||||
Oliphaunt oliphaunt4 = pool.checkOut();
|
||||
var oliphaunt4 = pool.checkOut();
|
||||
LOGGER.info("Checked out {}", oliphaunt4);
|
||||
Oliphaunt oliphaunt5 = pool.checkOut();
|
||||
var oliphaunt5 = pool.checkOut();
|
||||
LOGGER.info("Checked out {}", oliphaunt5);
|
||||
LOGGER.info(pool.toString());
|
||||
}
|
||||
|
Reference in New Issue
Block a user