- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {FileOutputStream f =
File file;new FileOutputStream(file)
String name;new FileOutputStream(name)
File file;new FileOutputStream(file, true)
- Smart code suggestions by Codota
}
/******************************************************************************************************************* * * Reacts to the notification that a {@link Customer} has been selected by populating the presentation with * his projects. * * @param event the notification event * ******************************************************************************************************************/ @VisibleForTesting void onCustomerSelectedEvent (final @Nonnull @ListensTo CustomerSelectedEvent event) { log.info("onCustomerSelectedEvent({})", event); presentation.populate(event.getCustomer().findProjects() .stream() .map(project -> (ProjectSpi)project) .sorted(comparing(ProjectSpi::getName)) .map(project -> createPresentationModelFor(project)) .collect(toCompositePresentationModel())); }