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);
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue