mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
StreamToLoop: add finisher parentheses automatically if necessary
This commit is contained in:
@@ -16,7 +16,7 @@ public class Main {
|
||||
count++;
|
||||
}
|
||||
}
|
||||
return (count == 0 ? 0.0 : (double) sum / count);
|
||||
return count == 0 ? 0.0 : (double) sum / count;
|
||||
};
|
||||
System.out.println(s.getAsDouble());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user