mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Minor style formatting.
Fixed a switch statement formatting to conform with Bisq code style.
This commit is contained in:
parent
162c119285
commit
24784cb22d
1 changed files with 10 additions and 6 deletions
|
@ -486,15 +486,19 @@ public class TradesChartsView extends ActivatableViewAndModel<VBox, TradesCharts
|
||||||
long time = model.getTimeFromTickIndex(index);
|
long time = model.getTimeFromTickIndex(index);
|
||||||
String fmt = "";
|
String fmt = "";
|
||||||
switch (model.tickUnit) {
|
switch (model.tickUnit) {
|
||||||
case YEAR : fmt = "yyyy";
|
case YEAR:
|
||||||
|
fmt = "yyyy";
|
||||||
break;
|
break;
|
||||||
case MONTH : fmt = "MMMyy";
|
case MONTH:
|
||||||
|
fmt = "MMMyy";
|
||||||
break;
|
break;
|
||||||
case WEEK :
|
case WEEK:
|
||||||
case DAY : fmt = "dd/MMM\nyyyy";
|
case DAY:
|
||||||
|
fmt = "dd/MMM\nyyyy";
|
||||||
break;
|
break;
|
||||||
case HOUR :
|
case HOUR :
|
||||||
case MINUTE_10: fmt = "HH:mm\ndd/MMM";
|
case MINUTE_10:
|
||||||
|
fmt = "HH:mm\ndd/MMM";
|
||||||
break;
|
break;
|
||||||
default: // nothing here
|
default: // nothing here
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue