- 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
}
@Override public DiagnosticDataPoint gatherDataFromService() { // this check should actually contact the serviceName boolean alive = RANDOM.nextFloat() > 0.25; return DiagnosticDataPoint.of(serviceName, ZonedDateTime.now(), alive); }
@Override public DiagnosticDataPoint gatherDataFromService() { // this check should actually contact the serviceName boolean alive = RANDOM.nextFloat() > 0.1; return DiagnosticDataPoint.of(serviceName, ZonedDateTime.now(), alive); }