Minor style formatting.

Fixed a switch statement formatting to conform with Bisq code style.
This commit is contained in:
Deus Max 2020-10-31 14:48:18 +02:00
parent 162c119285
commit 24784cb22d
No known key found for this signature in database
GPG key ID: 99EFAE1719A26B0F

View file

@ -486,15 +486,19 @@ public class TradesChartsView extends ActivatableViewAndModel<VBox, TradesCharts
long time = model.getTimeFromTickIndex(index);
String fmt = "";
switch (model.tickUnit) {
case YEAR : fmt = "yyyy";
case YEAR:
fmt = "yyyy";
break;
case MONTH : fmt = "MMMyy";
case MONTH:
fmt = "MMMyy";
break;
case WEEK :
case DAY : fmt = "dd/MMM\nyyyy";
case WEEK:
case DAY:
fmt = "dd/MMM\nyyyy";
break;
case HOUR :
case MINUTE_10: fmt = "HH:mm\ndd/MMM";
case HOUR :
case MINUTE_10:
fmt = "HH:mm\ndd/MMM";
break;
default: // nothing here
}