Skip to content
This repository
Browse code

Followup of commit abc6f15.

Keeping original order to avoid regression risks.
  • Loading branch information...
commit a2098af9c1055502bc71ccdf2a3052c1c133ebcc 1 parent abc6f15
Patrick Atoon Raptor399 authored

Showing 1 changed file with 4 additions and 4 deletions. Show diff stats Hide diff stats

  1. +4 4 src/main/java/net/pms/formats/FormatFactory.java
8 src/main/java/net/pms/formats/FormatFactory.java
@@ -37,10 +37,10 @@
37 37 /**
38 38 * Initial list of known formats.
39 39 */
40   - private static final Format[] FORMATS = new Format[] { new DVRMS(),
41   - new FLAC(), new GIF(), new ISO(), new JPG(), new M4A(), new MKV(),
42   - new MP3(), new MPG(), new OGG(), new PNG(), new RAW(), new TIF(),
43   - new WAV(), new WEB() };
  40 + private static final Format[] FORMATS = new Format[] { new WEB(),
  41 + new MKV(), new M4A(), new MP3(), new ISO(), new MPG(), new WAV(),
  42 + new JPG(), new OGG(), new PNG(), new GIF(), new TIF(), new FLAC(),
  43 + new DVRMS(), new RAW(), };
44 44
45 45 /**
46 46 * The list of registered formats.

0 comments on commit a2098af

Having once heard a Java developer sneer at a language for allowing trailing commas in array literals, it's amusing to find that Java supports them too :-)

SubJunk

Heh yeah I've heard people talk about them too. Just makes it easier to copy/paste to leave them in.

Patrick Atoon

Eeeuw! Trailing comma deleted in c445550.

Please sign in to comment.
Something went wrong with that request. Please try again.